convey
This suspending function combines requestConveyor(), rideConveyor(), and exit() into one suspending function.
Return
the returned item encapsulates what happened during the ride and contains information about the origin point, the destination, etc.
Parameters
the conveyor to access
the location on the conveyor at which the cells are requested
the location to which to ride
the number of cells needed (requested)
the priority of the access. If there are multiple entities that access the conveyor at the same time this priority determines which goes first. Similar to the seize resource priority.
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.
This suspending function combines requestConveyor(), rideConveyor(), and exit() into one suspending function.
Return
the returned item encapsulates what happened during the ride and contains information about the origin point, the destination, etc.
Parameters
the conveyor to access
the location on the conveyor at which the cells are requested
the time that it takes to load onto the conveyor
the location to which to ride
the time that it takes to unload from the conveyor
the number of cells needed (requested)
the priority of the access. If there are multiple entities that access the conveyor at the same time this priority determines which goes first. Similar to the seize resource priority.
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.
This suspending function combines access(), ride(), and exit() into one suspending function.
Return
the returned item encapsulates what happened during the ride and contains information about the origin point, the destination, etc.
Parameters
the conveyor to access
the location on the conveyor at which the cells are requested
the time that it takes to load onto the conveyor
the location to which to ride
the time that it takes to unload from the conveyor
the number of cells needed (requested)
the priority of the access. If there are multiple entities that access the conveyor at the same time this priority determines which goes first. Similar to the seize resource priority.
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.