ExecutionContexts

doobie.util.ExecutionContexts$

Attributes

Source:
ExecutionContexts.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

object synchronous extends ExecutionContext

Execution context that runs everything synchronously. This can be useful for testing.

Execution context that runs everything synchronously. This can be useful for testing.

Attributes

Source:
ExecutionContexts.scala
Graph
Supertypes
trait ExecutionContext
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def cachedThreadPool[F[_]](implicit sf: Sync[F]): Resource[F, ExecutionContext]

Resource yielding an ExecutionContext backed by an unbounded thread pool.

Resource yielding an ExecutionContext backed by an unbounded thread pool.

Attributes

Source:
ExecutionContexts.scala
def fixedThreadPool[F[_]](size: Int)(implicit sf: Sync[F]): Resource[F, ExecutionContext]

Resource yielding an ExecutionContext backed by a fixed-size pool.

Resource yielding an ExecutionContext backed by a fixed-size pool.

Attributes

Source:
ExecutionContexts.scala