Apama 10.15.0 | Developing Apama Applications | EPL Reference | Statements | Simple statements | The spawn action to context statement
 
The spawn action to context statement
The spawn action() to context statement creates a copy of the currently executing monitor instance in the specified context. A monitor instance must have a reference for the specified context in order to spawn to that context.
The expression that you spawn must be of type context. The spawn action()to context statement spawns a new monitor instance in the specified context.
For more detailed information, see Spawning to contexts.