Promise(Input)
Class methods
all(promises)
Sourceall(*promises)
Sourcedefer(timeout = nil, &block : -> _)
Execute code in the next tick of the event loop and return a promise for obtaining the value
Instance methods
catch
Sourcefinally
Sourcethen
SourceMacros
new(type, timeout = nil)
Sourcereject(type, reason)
Source