Actor.(constructor)​
Creates a new actor instance for the given logic with the provided options, if any.
Signature:
constructor(logic: TLogic, options?: ActorOptions<TLogic>);
Parameters​
Parameter | Type | Description |
---|---|---|
logic | TLogic | The logic to create an actor from |
options | ActorOptions<TLogic> | (Optional) Actor options |