Liking cljdoc? Tell your friends :D

promesa.impl.proto

A generic promise abstraction and related protocols.

A generic promise abstraction and related protocols.
raw docstring

ICancellableclj/s≠protocol

A cancellation abstraction.

A cancellation abstraction.

-cancelclj/s

(-cancel _)

-cancelled?clj/s

(-cancelled? _)
raw docstring

IPromiseclj/s≠protocol

A basic future abstraction.

A basic future abstraction.

-bindclj/s

(-bind _ callback)

Chain a promise.

Chain a promise.

-catchclj/s

(-catch _ callback)

Catch a error in a promise.

Catch a error in a promise.

-mapclj/s

(-map _ callback)

Chain a promise.

Chain a promise.
raw docstring

IPromiseFactoryclj/s≠protocol

A promise constructor abstraction.

A promise constructor abstraction.

-promiseclj/s

(-promise _)

Create a promise instance.

Create a promise instance.
raw docstring

ISchedulerclj/s≠protocol

A generic abstraction for scheduler facilities.

A generic abstraction for scheduler facilities.

-scheduleclj/s

(-schedule _ ms func)

Schedule a function to be executed in future.

Schedule a function to be executed in future.
raw docstring

IStateclj/s≠protocol

Additional state/introspection abstraction.

Additional state/introspection abstraction.

-extractclj/s

(-extract _)

Extract the current value.

Extract the current value.

-pending?clj/s

(-pending? _)

Retutns true if a promise is pending.

Retutns true if a promise is pending.

-rejected?clj/s

(-rejected? _)

Returns true if a promise is rejected.

Returns true if a promise is rejected.

-resolved?clj/s

(-resolved? _)

Returns true if a promise is resolved.

Returns true if a promise is resolved.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close