StreamActor<M, A>.of constructor
StreamActor<M, A>.of (
- HandlerFunction<
M, Stream< handlerA> >
Creates a StreamActor based on a handler function.
Implementation
StreamActor.of(HandlerFunction<M, Stream<A>> handler)
: this.create(asHandler(handler));