Liking cljdoc? Tell your friends :D

promesa.protocols

A generic promise abstraction and related protocols.

A generic promise abstraction and related protocols.
raw docstring

ICancellableclj/sprotocol

A cancellation abstraction.

A cancellation abstraction.

-cancelclj/s

(-cancel _)

-cancelled?clj/s

(-cancelled? _)
sourceraw docstring

IPromiseclj/sprotocol

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.
sourceraw docstring

IPromiseFactoryclj/sprotocol

A promise constructor abstraction.

A promise constructor abstraction.

-promiseclj/s

(-promise _)

Create a promise instance.

Create a promise instance.
sourceraw docstring

ISchedulerclj/sprotocol

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.
sourceraw docstring

IStateclj/sprotocol

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.
sourceraw docstring

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

× close