Last active
August 29, 2015 14:00
-
-
Save StoneCypher/11097999 to your computer and use it in GitHub Desktop.
general structure of a receive driven process
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
some_loop() -> | |
receive | |
case -> | |
handle, | |
some_loop(); | |
case -> | |
handle, | |
some_loop(); | |
case -> | |
handle, | |
some_loop(); | |
terminate -> | |
ok; | |
_UnknownMessage -> | |
% ignored | |
some_loop() | |
end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment