Created
July 10, 2016 20:59
-
-
Save koduki/3a359b0e3b4959d120f58222dcd67fe6 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
while(true){ | |
if(events.isNotEmpty()){ | |
callback(events.pop()) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment