Package-level declarations

Types

Link copied to clipboard

This Marker exists to prevent being able to call bind from install, and its derived methods. This is done to ensure correct usage of ResourceScope.

Link copied to clipboard
annotation class ResourceDSL
Link copied to clipboard
interface ResourceScope

Computation block for the Resource type. The Resource allows us to describe resources as immutable values, and compose them together in simple ways. This way you can split the logic of what a Resource is and how it should be closed from how you use them.

Link copied to clipboard
annotation class ScopeDSL

Functions

Link copied to clipboard
fun <A> resource(f: suspend ResourceScope.() -> A): Resource<A>