Hacker News new | ask | show | jobs
by zzzcpan 2943 days ago
I get it, it's like event driven programming with static event handlers per actor. Where you can't express a wait for a specific message directly in the body of the function. But you still have to do it somehow, which is what my question was about, how do people do it in Pony. Typically in event driven systems to do this either nested callbacks are used or higher order programming (futures/promises, etc).
1 comments

You can use callbacks, state machines, promises. All are available as options to use.