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

Removes one from this callback's reference counting and returns the new reference count.

If the callback's reference counter is zero, it will no longer keep Deno's process from exiting.

Returns

number