struct Turquoise::Eloquent::Messages

Defined in:

turquoise/eloquent/messages.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String) #

[View source]

Instance Method Detail

def <<(message) #

Alias to #push


[View source]
def active? : Bool #

[View source]
def clear #

Remove messages from volatile memory


[View source]
def commit #

[View source]
def current : Array(Gemini::Content) #

[View source]
def current=(current : Array(Gemini::Content)) #

[View source]
def delete #

Remove messages from persistent memory


[View source]
def future : Array(Gemini::Content) #

[View source]
def future=(future : Array(Gemini::Content)) #

[View source]
def load #

Load messages from persistent memory to volatile memory


[View source]
def push(message) #

[View source]
def rollback #

[View source]
def transaction #

[View source]
def transaction(&) #

[View source]
def value #

[View source]