A function which returns itself
Returns a function which, if provided options and
event types, will waits until an XState Actor
receives one or more events (in order).
The type of actor
An XState Actor that can receive events
Returns a function which, if provided
options and
event types, will waits until an XState Actor
receives one or more events (in order).
Returns a function which waits until an XState Actor receives one or more
events (in order).
The type of actor
An XState Actor that can receive events
Options, including otherActorId which will filter on the
sender
A Promise fulfilling with the matching events (assuming they all
occurred in order)
Wait until an XState Actor receives one or more events (in order).
The type of actor
The type of eventTypes
An XState Actor that can receive events
Options, including otherActorId which will filter on the
sender
One or more event names (the type field) to wait for
(in order)
A Promise fulfilling with the matching events (assuming they all
occurred in order)
Returns itself.