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.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”behavior
Section titled “behavior”Behavior<T>
Returns
Section titled “Returns”Props<T>