Class: ContextEntityCollector

Decorators~ ContextEntityCollector

Holds a context manager for its single child context. Its only feature is to collect entities from target, based on the map defined in the parameters. could be used to pre-process messages by a

new ContextEntityCollector()

Members


parameters :Object

Node parameters
Type:
  • Object
Properties:
Name Type Description
parameters
Properties
Name Type Description
entities Array.<EntitiesToContextMapItem> entities map. Each item carries an additional member - mandatory boolean field
returnWhenAllEntitiesCollected boolean return success when all entities collected, regardless of the child status

Methods


close(tick)

close this node and context
Parameters:
Name Type Description
tick Tick

open(tick)

Parameters:
Name Type Description
tick Tick