Dispatcher

kreuzberg.rpc.Dispatcher
See theDispatcher companion trait
object Dispatcher

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Dispatcher.type

Members list

Value members

Concrete methods

def combine[F[_], T](dispatchers: Dispatcher[F]*)(implicit effect: EffectSupport[F]): Dispatcher[F]

Comboine multiple Dispatchers into one.

Comboine multiple Dispatchers into one.

Attributes

def empty[F[_], T](implicit effect: EffectSupport[F]): Dispatcher[F]

Experimental methods

inline def makeCustomDispatcher[F[_], A](handler: A): Dispatcher[F]

Create a dispatcher for an Interface A with custom Effect and Transport type.

Create a dispatcher for an Interface A with custom Effect and Transport type.

Attributes

Experimental
true
inline def makeDispatcher[A](handler: A): Dispatcher[Future]

Create a dispatcher for an Interface A

Create a dispatcher for an Interface A

Attributes

Experimental
true
def makeDispatcherMacro[F[_], A](handler: Expr[A])(using Quotes, Type[F], Type[A]): Expr[Dispatcher[F]]

Attributes

Experimental
true
inline def makeIdDispatcher[A](handler: A): Dispatcher[Id]

Attributes

Experimental
true
inline def makeZioDispatcher[A](handler: A): Dispatcher[Task]

Attributes

Experimental
true