wait For
Causes the current process to suspend until the specified process has run to completion. This is like run blocking. It activates the specified process and then waits for it to complete before proceeding.
Parameters
the process to start for an entity
the time until the start the process
the priority associated with the event to start the process
Causes the process to halt, waiting for the signal to be announced. Some other process/event is necessary to cause the signal. The entities stop waiting for the signal and resume their processes when signaled.
Parameters
a general indicator for controlling the process
a priority indicator to inform ordering when there is more than one process waiting for the same signal
Indicates whether waiting time statistics should be collected on waiting items, true means collect statistics
the name of the waitFor. can be used to identify which waitFor the entity is experiencing if there are more than one waitFor suspension points within the process. The user is responsible for uniqueness.
Permits simpler calling syntax when using a blocking queue within a KSLProcess This method will block (suspend) until the required number of items that meet the criteria become available within the blocking queue.
Parameters
the number of items needed from the blocking queue that match the criteria
a functional predicate that tests items in the queue for the criteria
the priority associated with the entity if it has to wait to receive
the name of the suspension point. can be used to identify which receive suspension point the entity is experiencing if there are more than one receive suspension points within the process. The user is responsible for uniqueness.