Node.js-specific extension to the EventTarget class that adds a once listener for the given event type. This is equivalent to calling on with the once option set to true.
method
events.default.NodeEventTarget.once
once(
type: string,
listener: (arg: any) => void
): this;