Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
promise
v3.2.0
Top Level Namespace
Exception
Object
Promise
Deferred
DeferredPromise
PromiseResolver
Generic
ImplicitDefer
RejectedPromise
ResolvedPromise
ResolvedDefer
Timeout
Generated using Crystal 1.11.2
2024-10-14 10:41:35 UTC
class
Promise::
ResolvedPromise::
ResolvedDefer(Input, Output)
Promise::ResolvedPromise::ResolvedDefer(Input, Output)
Reference
Object
Defined in:
promise/resolved_promise.cr
Constructors
.new
(input : Input, &block : Input -> Output)
Instance Method Summary
#execute!
Instance methods inherited from class
Object
__check_for_promise__
__check_for_promise__
Macros inherited from class
Object
__check_if_promise__
__check_if_promise__
Constructor Detail
def self.
new
(input : Input, &block : Input -> Output)
#
[
View source
]
Instance Method Detail
def
execute!
#
[
View source
]