Last active
June 17, 2016 15:08
-
-
Save ctoestreich/22cce342d53c57e1a6f0934ad6f06b3a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| //Go get promotions async | |
| Promise<Map<String, List<Promotion>> promisePromotions = task { getPromitions(...) } | |
| //Get the map from the promise | |
| Map<String, List<Promotion>> promotionMessages = promisePromotions.get() | |
| //Get the list of promitions from the map | |
| List<Promotion> promotionMessages = promotionMessages.get(mapKey) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment