Package-level declarations
Types
Link copied to clipboard
interface DispatchClosure
A map of Element instances. Every element has a unique Key. By design DispatchClosure is immutable. However, its elements might mutate depending on their implementation.
Link copied to clipboard
An empty DispatchClosure.
Link copied to clipboard
A DispatchClosure.Element, that handles local changes of a DispatchClosure.
Functions
Link copied to clipboard
fun <T : DispatchClosure.Element> DispatchClosure.findOrElse(key: DispatchClosure.Key<T>, value: T): T
Link copied to clipboard
inline fun <T> DispatchScope<*>.withLocalClosure(closure: DispatchClosure, newFrame: Boolean = false, block: DispatchScope<*>.() -> T): T
Adds local changes to LocalClosureContainer with a given closure for a time of block execution.
inline fun <T> DispatchClosure.withLocalClosure(closure: DispatchClosure, newFrame: Boolean = false, block: DispatchClosure.() -> T): T
Changes LocalClosureContainer with a given closure for a time of block execution.