This adds a StreamContext::stage_ref method, which allows logic
implementations to obtain an owned value that can be used to
asynchronously message the logic instance.
The resulting StageRef is Send and Sync and so lends itself well
to multithreaded programming.
This adds a StreamContext::stage_ref method, which allows logic implementations to obtain an owned value that can be used to asynchronously message the logic instance.
The resulting
StageRef
isSend
andSync
and so lends itself well to multithreaded programming.Fixes #58 Fixes #56