ActorOptions interface​
Signature:
export interface ActorOptions<TLogic extends AnyActorLogic>
Properties​
| Property | Modifiers | Type | Description |
|---|---|---|---|
| clock? | Clock | (Optional) | |
| devTools? | boolean | DevToolsAdapter | (Optional) If Default: | |
| execute? | boolean | (Optional) Whether state actions should be executed immediately upon transition. Defaults to true. | |
| id? | string | (Optional) The custom id for referencing this service. | |
| input? | InputFrom<TLogic> | (Optional) The input data to pass to the actor. | |
| inspect? | Observer<InspectionEvent> | ((inspectionEvent: InspectionEvent) => void) | (Optional) | |
| logger? | (...args: any[]) => void | (Optional) | |
| parent? | ActorRef<any, any> | (Optional) | |
| src? | string | (Optional) The source definition. | |
| state? | any | (Optional) | |
| sync? | boolean | (Optional) | |
| systemId? | string | (Optional) The system ID to register this actor under |