winter-rxjava2 / io.jentz.winter.rxjava2 / WinterDisposablePlugin

WinterDisposablePlugin

object WinterDisposablePlugin : SimplePlugin

Winter plugin that adds a CompositeDisposable to every graph, adds all singleton scoped instances which implement Disposable to it and disposes the CompositeDisposable when the Graph gets disposed.

Functions

graphDispose

fun graphDispose(graph: Graph): Unit

graphInitializing

fun graphInitializing(parentGraph: Graph?, builder: ComponentBuilder): Unit

postConstruct

fun postConstruct(graph: Graph, scope: Scope, argument: Any, instance: Any): Unit