Skip to content

typedProps

typedProps<T>(behavior): Props<T>

Defined in: src/typed/spawn.ts:13

Build a Props that, when used with system.actorOf(...), hosts the given Behavior. Useful when you want to keep using the OO spawn APIs but hand over a typed Behavior as the implementation.

T

Behavior<T>

Props<T>