assign
Callable
Type parameters
- TContext: MachineContext
- TExpressionEvent: AnyEventObject = AnyEventObject
- TParams: NonReducibleUnknown = NonReducibleUnknown
- TEvent: EventObject = EventObject
- TActor: ProvidedActor = ProvidedActor
Parameters
assignment: Assigner<LowInfer<TContext>, TExpressionEvent, TParams, TEvent, TActor> | PropertyAssigner<LowInfer<TContext>, TExpressionEvent, TParams, TEvent, TActor>
An object that represents the partial context to update.
Returns AssignAction<TContext, TExpressionEvent, TParams, TEvent, TActor>
Updates the current context of the machine.