Created
November 29, 2015 18:22
-
-
Save theleancoder/acdbf8ec2cd513f8efff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// take order for table 1 and move on... | |
orderNonBlocking(['Coke', 'Iced Tea'], function(drinks){ | |
return serveOrder(drinks); | |
}); | |
// take order for table 2 and move on... | |
orderNonBlocking(['Beer', 'Whiskey'], function(drinks){ | |
return serveOrder(drinks); | |
}); | |
// take order for table 3 and move on... | |
orderNonBlocking(['Hamburger', 'Pizza'], function(food){ | |
return serveOrder(food); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment