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.
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 © 2013-2015 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.