WeakAsync

doobie.WeakAsync
See theWeakAsync companion trait
object WeakAsync

Attributes

Companion
trait
Source
WeakAsync.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
WeakAsync.type

Members list

Value members

Concrete methods

def apply[F[_]](implicit ev: WeakAsync[F]): WeakAsync[F]

Attributes

Source
WeakAsync.scala
def liftIO[F[_]](implicit F: WeakAsync[F]): Resource[IO, LiftIO[F]]

Like liftK but specifically returns a LiftIO

Like liftK but specifically returns a LiftIO

Attributes

Source
WeakAsync.scala
def liftK[F[_], G[_]](implicit F: Async[F], G: WeakAsync[G]): Resource[F, FunctionK[F, G]]

Create a natural transformation for lifting an Async effect F into a WeakAsync effect G cats.effect.std.Dispatcher the trasformation is based on is stateful and requires finalization. Leaking it from it's resource scope will lead to erorrs at runtime.

Create a natural transformation for lifting an Async effect F into a WeakAsync effect G cats.effect.std.Dispatcher the trasformation is based on is stateful and requires finalization. Leaking it from it's resource scope will lead to erorrs at runtime.

Attributes

Source
WeakAsync.scala

Implicits

Implicits

implicit def doobieWeakAsyncForAsync[F[_]](implicit F: Async[F]): WeakAsync[F]

Attributes

Source
WeakAsync.scala