Creates an unset promise.
Creates an unset promise. *
Like apply but initializes state using another effect constructor
Creates an unset promise that only requires an Async and
does not support cancellation of get
.
Creates an unset promise that only requires an Async and
does not support cancellation of get
.
WARN: some Async
data types, like IO, can be cancelable,
making uncancelable
values unsafe. Such values are only useful
for optimization purposes, in cases where the use case does not
require cancellation or in cases in which an F[_]
data type
that does not support cancellation is used.
Like uncancelable but initializes state using another effect constructor
Like apply
but returns the newly allocated promise directly
instead of wrapping it in F.delay
.
Like apply
but returns the newly allocated promise directly
instead of wrapping it in F.delay
. This method is considered
unsafe because it is not referentially transparent -- it
allocates mutable state.
Like uncancelable but returns the newly allocated promise directly
instead of wrapping it in F.delay
.
Like uncancelable but returns the newly allocated promise directly
instead of wrapping it in F.delay
. This method is considered
unsafe because it is not referentially transparent -- it
allocates mutable state.
WARN: read the caveats of uncancelable.