Interface: ActorEvent
API / @xmachines/play-actor / ActorEvent
Defined in: play-actor.ts:38
The minimal shape of an event that an actor receives.
It is the base of PlayEvent of @xmachines/play, and this package declares it again
rather than import it: the constraint must accept the event union of a CONCRETE machine,
and PlayEvent carries Record<string, unknown> in its default payload. An interface of
a union member holds no index signature, so it satisfies that default never.
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
type | readonly | string | play-actor.ts:39 |