March 2019
Intermediate to advanced
336 pages
9h 9m
English
The StartTicketIssue method starts the issuing of a ticket for passengers standing in a queue. The StartTicketIssue method on Queue sends messageTicketStart to the message queue and queueTicket receives the message. The ticket issue is started by sending messages to the queue, as follows:
// StartTicketIssue starts the ticket issuefunc (Queue *Queue) StartTicketIssue() { Queue.message <- messageTicketStart <-Queue.queueTicket}
Read now
Unlock full access