pub type HostFinalizer = Box<dyn Fn(ClassId, Opaque)>;Expand description
A host class’s finalizer: JSClassDef::finalizer.
Receives the class id and the payload, and nothing else — no interpreter, no context —
because it runs from Drop, at which point there may be neither.
Aliased Type§
pub struct HostFinalizer(/* private fields */);