# Pastebin rViDJXwt function self.recv() coroutine.yield() --[[ It is possible for a process to be force-resumed using scheduler.enqueue() If this happens, and we are in the middle of a recv() call, then we might assume that some process wants to break an existing recv() call: --]] if self.inbox() == 0 then return ':error', 'Wakeup: broke out of recv() loop' end return ':ok', table.remove(outbox[current], 1) end