March 2019
Intermediate to advanced
336 pages
9h 9m
English
The EndTicketIssue method finishes the issuing of a ticket to a passenger standing in the queue. In the following code, the EndTicketIssue method on Queue sends messageTicketEnd to the message queue. The ticket issue is ended by sending the message:
// EndTicketIssue ends the ticket issuefunc (Queue *Queue) EndTicketIssue() { Queue.message <- messageTicketEnd}
Read now
Unlock full access