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.
fun graphClose(graph: Graph): Unit |
|
fun graphInitializing(parentGraph: Graph?, builder: Builder): Unit |
|
fun postConstruct(graph: Graph, scope: Scope, instance: Any): Unit |