Domain.prototype.remove - Node documentation
method Domain.prototype.remove

Usage in Deno

import { Domain } from "node:domain";
Domain.prototype.remove(emitter: EventEmitter | Timer): void

The opposite of add. Removes domain handling from the specified emitter.

Parameters

emitter: EventEmitter | Timer

emitter or timer to be removed from the domain

Return Type

void