Package-level declarations
Types
Link copied to clipboard
Collects resources and closes them cleanly in reversed order.
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_SETTER] )
Marks experimental API that is not final and subject to change.
Link copied to clipboard
Test
Link copied to clipboard
A resource that can be closed or released and must suspend
to do so.
Functions
Link copied to clipboard
Wraps this AutoCloseable as if it needed to suspend
, allowing APIs to only support SuspendCloseables.
Link copied to clipboard
Link copied to clipboard
Create a new empty Closer.
Create a new Closer and add closeables to it.
Link copied to clipboard
Remember to close autoCloseable together with this closer.
Remember to close suspendCloseable together with this closer.