class Concurrent::Actor::Behaviour::Awaits

Accepts ‘:await` messages. Which allows to wait on Actor to process all previously send messages.

actor << :a << :b
actor.ask(:await).wait # blocks until :a and :b are processed