Created
November 16, 2015 18:52
-
-
Save theleancoder/03b584e61c8d4636a7c4 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