Concurrent instance built for cats.data.EitherT
values initialized
with any F
data type that also implements Concurrent
.
Concurrent instance built for cats.data.Kleisli
values initialized
with any F
data type that also implements Concurrent
.
Concurrent instance built for cats.data.OptionT
values initialized
with any F
data type that also implements Concurrent
.
Concurrent instance built for cats.data.StateT
values initialized
with any F
data type that also implements Concurrent
.
Concurrent instance built for cats.data.WriterT
values initialized
with any F
data type that also implements Concurrent
.
Lifts any IO
value into any data type implementing Concurrent.
Lifts any IO
value into any data type implementing Concurrent.
Compared with Async.liftIO, this version preserves the
interruptibility of the given IO
value.
This is the default Concurrent.liftIO
implementation.
Returns an effect that either completes with the result of the source within
the specified time duration
or otherwise raises a TimeoutException
.
Returns an effect that either completes with the result of the source within
the specified time duration
or otherwise raises a TimeoutException
.
The source is cancelled in the event that it takes longer than the specified time duration to complete.
is the time span for which we wait for the source to
complete; in the event that the specified time has passed without
the source completing, a TimeoutException
is raised
Returns an effect that either completes with the result of the source within
the specified time duration
or otherwise evaluates the fallback
.
Returns an effect that either completes with the result of the source within
the specified time duration
or otherwise evaluates the fallback
.
The source is cancelled in the event that it takes longer than
the FiniteDuration
to complete, the evaluation of the fallback
happening immediately after that.
is the time span for which we wait for the source to
complete; in the event that the specified time has passed without
the source completing, the fallback
gets evaluated
is the task evaluated after the duration has passed and the source canceled