OrderDistributor.distribute_completed
You're seeing just the function
distribute_completed
, go back to OrderDistributor module for more information.
Link to this function
distribute_completed(order)
Signals to all elevators in the node cluster that the given order has been completed. Spawning a multi_call effectively becomes a multi_cast with acknowledge and a given timeout.
Parameters
- order: Order to be distributed as completed :: %Order{}
Return
- :ok :: atom()