Skip to main content
method Deno.UnsafeCallback.prototype.close

Removes the C function pointer associated with this instance.

Continuing to use the instance after calling this object will lead to errors and crashes.

Calling this method will also immediately set the callback's reference counting to zero and it will no longer keep Deno's process from exiting.