Create a 'becomeOnce' method to allow emulating Scala Actor's nested reacts
Like 'become' just that it does automatic 'unbecome' after the first processed message by the new handler.
This would let us emulate Scala Actors nested react/receive.
Or come up with a better name than 'becomeOnce'
This would let us emulate Scala Actors nested react/receive.
Or come up with a better name than 'becomeOnce'
Leave a comment