observerStatic
fun observerStatic(event: TorEvent, executor: OnEvent.Executor?, onEvent: OnEvent<String>): TorRuntime.BuilderScope(source)
Add TorEvent.Observer which will never be removed from TorRuntime.
Useful for logging purposes.
fun <R : Any> observerStatic(event: RuntimeEvent<R>, onEvent: OnEvent<R>): TorRuntime.BuilderScope(source)
fun <R : Any> observerStatic(event: RuntimeEvent<R>, executor: OnEvent.Executor?, onEvent: OnEvent<R>): TorRuntime.BuilderScope(source)
Add RuntimeEvent.Observer which will never be removed from TorRuntime.
Useful for logging purposes.