exitConveyor

abstract suspend fun exitConveyor(conveyorRequest: ConveyorRequestIfc, exitPriority: Int = PRIORITY, suspensionName: String? = null)

This suspending function causes the item associated with the allocated cells to exit the conveyor. If there is no item associated with the allocated cells, the cells are immediately released without a time delay. If there is an item occupying the associated cells there will be a delay while the item moves through the deallocated cells and then the cells are deallocated. After exiting the conveyor, the cell allocation is deallocated and cannot be used for further interaction with the conveyor.

Return

the returned item encapsulates what happened during the ride and contains information about the origin point, the destination, etc.

Parameters

conveyorRequest

the cell allocation that will be released during the exiting process

exitPriority

the priority associated with the exit

suspensionName

the name of the suspension point the entity is experiencing if there are more than one delay suspension points within the process. The user is responsible for uniqueness.


open suspend fun exitConveyor(exitPriority: Int = PRIORITY, suspensionName: String? = null)

This suspending function causes the item associated with the allocated cells to exit the conveyor. If there is no item associated with the allocated cells, the cells are immediately released without a time delay. If there is an item occupying the associated cells there will be a delay while the item moves through the deallocated cells and then the cells are deallocated. After exiting the conveyor, the cell allocation is deallocated and cannot be used for further interaction with the conveyor.

Return

the returned item encapsulates what happened during the ride and contains information about the origin point, the destination, etc.

Parameters

suspensionName

the name of the suspension point the entity is experiencing if there are more than one delay suspension points within the process. The user is responsible for uniqueness.

exitPriority

the priority associated with the exit