Finalizer<T> constructor
- void callback(
- T
Creates a finalizer with the given finalization callback.
The callback
is bound to the current zone
when the Finalizer is created, and will run in that zone when called.
Implementation
external factory Finalizer(void Function(T) callback);