OperationLease class abstract interface

Keeps an accepted operation's owner reachable and usable until release.

Release is idempotent. Adapters release in finally, after their operation's last use, including result conversion or asynchronous settlement. A lease does not cancel work or imply that an owner requires explicit cleanup.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
isReleased → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited