Async instance built for cats.data.EitherT
values initialized
with any F
data type that also implements Async
.
Async instance built for cats.data.Kleisli
values initialized
with any F
data type that also implements Async
.
Async instance built for cats.data.OptionT
values initialized
with any F
data type that also implements Async
.
Async instance built for cats.data.StateT
values initialized
with any F
data type that also implements Async
.
Lifts any IO
value into any data type implementing Async.
Lifts any IO
value into any data type implementing Async.
This is the default Async.liftIO
implementation.
Lazily memoizes f
.
Lazily memoizes f
. For every time the returned F[F[A]]
is
bound, the effect f
will be performed at most once (when the
inner F[A]
is bound the first time).
Note: This version of memoize
does not support interruption.
Use Concurrent.memoize
if you need that.
Generic shift operation, defined for any Async
data type.
Generic shift operation, defined for any Async
data type.
Shifts the bind continuation onto the specified thread pool. Analogous with IO.shift.
Async instance built for cats.data.WriterT
values initialized
with any F
data type that also implements Async
.
Async instance built for cats.data.WriterT
values initialized
with any F
data type that also implements Async
.
(Since version 1.1.0) WARNING: currently the Async[WriterT[F, L, ?]] instance is broken!
Returns an non-terminating F[_]
, that never completes
with a result, being equivalent with async(_ => ())
.
Returns an non-terminating F[_]
, that never completes
with a result, being equivalent with async(_ => ())
.
(Since version 0.10) Moved to Async[F]