an execution context that is used as a default for blocking operations.
an execution context that is used as a default for blocking operations. uses defaultBlockingThreadPool as the underlying thread pool.
defaultBlockingThreadPool
a thread pool that is used as a default for blocking operations.
a thread pool that is used as a default for blocking operations. creates new threads as needed,
as per java.util.concurrent.Executors.newCachedThreadPool
.
if you experience a lag between closing your connection and program exit, and you are using
defaultBlockingContext, try calling shutdown()
on this thread pool.
a longevity.effect.Effect
implementation for cats.effect.IO
a longevity.effect.Effect
implementation for cats.effect.IO
the execution context used for non-blocking operations
the execution context used for non-blocking operations
an implicit longevity.effect.Effect
implementation for cats.effect.IO
.
an implicit longevity.effect.Effect
implementation for cats.effect.IO
. uses the
defaultBlockingContext for blocking operations
the execution context used for non-blocking operations
contains longevity.effect.Effect implementations for
cats.effect.IO
.note that
cats-effect
is an optional library dependency in longevity, so you will have to declare the dependency yourself to use these effects.https://github.com/typelevel/cats-effect