observerStatic

Add TorEvent.Observer which will never be removed from TorRuntime.

Useful for logging purposes.


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.