Dispatcher

object Dispatcher
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_]](implicit F: Async[F]): Resource[F, Dispatcher[F]]

Create a Dispatcher that can be used within a resource scope. Once the resource scope exits, all active effects will be canceled, and attempts to submit new effects will throw an exception.

Create a Dispatcher that can be used within a resource scope. Once the resource scope exits, all active effects will be canceled, and attempts to submit new effects will throw an exception.