scala - Synchronous event triggering -


i want trigger @ exact same time through message receipt, processes different actors. considering actors possible heavily stacked mailboxes, best method implement this?

i'm assuming want actors read messages @ same time. this, of course not possible (while actor processing message cannot disturbed).

but can make sure trigger message next message take mailbox. can achieved using priority mailbox, example one: http://doc.akka.io/api/akka/snapshot/index.html#akka.dispatch.unboundedstableprioritymailbox

the messages in mailbox sorted priority. if give trigger messages highest priority, processed first.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -