Add scoped observers
05nelsonm opened this issue · 0 comments
05nelsonm commented
If library consumer is using coroutines, there should be an API for creating an Event.Observer
that leverages the use of CoroutineScope
to create its own OnEvent.Executor
, as well as unsubscribe itself from any Processor
via CoroutineScope.invokeOnCompletion
handler.