BoundService
Interface for bound service entries in a Graph.
Inheritors
Properties
Link copied to clipboard
Return true if the bound service requires a call to BoundService.onPostConstruct after constructing.
Functions
Link copied to clipboard
fun <R> BoundService<R>.checkedInstance(isOptional: Boolean, block: ComponentBuilderBlock? = null): R
Link copied to clipboard
This is called every time an instance is requested from the Graph. Calls to this might not be synchronized.
Link copied to clipboard
This is called when this instance is passed to Graph.evaluate to create a new instance.
Link copied to clipboard
This is called for each BoundService in a Graph when Graph.close is called.
Link copied to clipboard
This is called after a new instance was created but not until the complete dependency request is finished.