4 ms·
Pony core team member here: There are no block and wait patterns. That is true. You need to structure you app as an async one. All communication between actor
by spooneybarger 8y ago
Pony core team member here:
There are no block and wait patterns. That is true.
You need to structure you app as an async one. All communication between actors is async. This has the nice side-effect of making it really hard to write in a deadlock.
There are no plans to and wait at this time. It's not something that folks who are using Pony call for. It is something that folks coming from Erlang/Elixir want to see.
Perhaps they end up dropping off and we end up with confirmation bias that our approach is right. Perhaps we are on to something.
OTP wise, more patterns built into a library would be awesome and anyone who wants to take that one, we'd be happy to help support their effort.