Type alias WriteRequest<Context, AuthContext, EventShape, StateShape>

WriteRequest<Context, AuthContext, EventShape, StateShape>: EventWriteRequest<Context, AuthContext, EventShape, StateShape> | InitializationWriteRequest<Context, AuthContext>

A request to initialize or send an event to the machine instance.

Use WriteRequest<Context, AuthContext, EventShape, StateShape> to specify the types of the state, context and events for your machine and the authContext you will provide.

Type Parameters

Generated using TypeDoc