Monce
Bun

method

events.default.NodeEventTarget.once

type: string,
listener: (arg: any) => void
): this;

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.