def self.
new(*, name : String | Nil =
nil, delay =
0, callback : Proc(T) | Nil)
#
def self.
new(*args, **kwargs, &block : -> T)
#
def self.
all(futures : Enumerable(
Future(U)), ordered =
false, &block : U | Nil -> ) forall U
#
def self.
all(*futures :
Future(U), ordered =
false, &block : U | Nil -> ) forall U
#
def self.
any(futures : Enumerable(
Future(U)), &block : U -> ) forall U
#
def self.
any(*futures :
Future(U), &block : U -> ) forall U
#
def self.
await(*args, **kwargs, &block : -> T)
#
def self.
execute(*args, **kwargs, &block : -> T)
#
def self.
race(futures : Enumerable(
Future(U)), &block : U -> ) forall U
#
def self.
race(*futures :
Future(U), &block : U -> ) forall U
#
def
callback=(callback : Proc(T) | Nil)
#
def
error=(value : String | Exception)
#