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 © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.