KeyContext

inner class KeyContext<T>(val key: DependencyKey)(source)

DSL class for performing multiple actions for the given key and type.

Report a problem

Constructors

Link copied to clipboard
constructor(key: DependencyKey)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
infix fun cleanup(cleanup: (T) -> Unit)
Link copied to clipboard
infix fun provide(provide: suspend DependencyResolver.() -> T?)