WasmSqliteCleaner

Wrapper over JVM and Android Cleaner. Manages a set of object references and corresponding cleaning actions.

See: java.lang.ref.Cleaner

Types

Link copied to clipboard
fun interface WasmSqliteCleanable

Functions

Link copied to clipboard
abstract fun register(obj: Any, cleanAction: () -> Unit): WasmSqliteCleaner.WasmSqliteCleanable

Registers an object and a cleaning action to run when the object becomes phantom reachable. Refer to the API Note for cautions about the behavior of cleaning actions.