Returns a function which accepts options and/or one or more event types.
If event types are provided, the function runs an actor until it sends one or more events (in order); otherwise it returns a function which accepts one or more event types and returns a function which runs an actor until it sends one or more events (in order).
An existing xs.Actor
Returns a function which accepts one or more event types and runs an actor until it sends one or more events (in order), with options including a target actor ID.
An existing xs.Actor
Options
A function which accepts one or more event types and runs an actor until it sends one or more events (in order)
Runs an actor until it sends one or more events (in order), with options including a target actor ID.
An existing xs.Actor
Options
One or more event types (the xs.EventObject.type field) to wait for (in order)
The matching events (assuming they all occurred in order)
Returns itself