Developing Apama Applications > Apama 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.
SpawnToStatement
The result type of Expression must be context. The spawn action()to context statement spawns a new monitor instance in the specified context.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.