class Oxide::Execution::Lazy(T)

Defined in:

oxide/execution/lazy.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(&blk : -> ) #

[View source]

Instance Method Detail

def fulfill(value : T) #

[View source]
def fulfilled=(fulfilled : Bool) #

[View source]
def fulfilled? #

[View source]
def promise : Proc(Nil) #

[View source]
def promise=(promise : Proc(Nil)) #

[View source]
def resolve #

[View source]
def value : T | Nil #

[View source]
def value=(value : T | Nil) #

[View source]