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 closed.

Functions

graphClose

fun graphClose(graph: Graph): Unit

graphInitializing

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

postConstruct

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