Readonly
eitherReadonly
inspectReadonly
mReadonly
mapReadonly
onReadonly
onReadonly
ononPending: A function that notifies the consuming function of the pending state.
Upon invocation it will pass true to the consumer. Once the call has finished it will pass false to the consumer.
The provided consumer gets called twice.
Readonly
onReadonly
orReadonly
orReadonly
orReadonly
value
The AsyncResult is something that Damien LeBfailureigaud has introduced me to. I had the chance to work with him on a project that inspired me to write this lib. Together we collaborated on React Redux Starter to aid us in developing future projects with clients.
The type allows you to work with a promise in the same way you would work with a Result, with some extra helpers.
A factory for creating AsyncResult's
See