Actor<M, A>.of constructor

Actor<M, A>.of(
  1. HandlerFunction<M, A> handler
)

Creates an Actor based on a handler function.

Implementation

Actor.of(HandlerFunction<M, A> handler) : this.create(asHandler(handler));