Key

sealed abstract class Key

Represents a key in a scope, which is associated with a single finalizer.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

Attempts to remove the finalizer associated with this key from the scope. The returned effect will succeed with a boolean, which indicates whether the attempt was successful. A value of true indicates the finalizer will not be executed, while a value of false indicates the finalizer was already executed.

Attempts to remove the finalizer associated with this key from the scope. The returned effect will succeed with a boolean, which indicates whether the attempt was successful. A value of true indicates the finalizer will not be executed, while a value of false indicates the finalizer was already executed.