Created
September 11, 2014 06:26
-
-
Save mpj/7fd7f209c8d77f664215 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
orderStream = broker('orders') | |
unhandledOrdersStream = | |
_(broker('orders')).filter (order) -> not order.shippingdate | |
unhandledOrdersStream.each (order) -> | |
# do stuff with order that is not handled | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment