Type alias Guarded<T>

Guarded<T>: T & Guard

A stream that is guarded from emitting errors when there are no listeners. If an error occurs while no listener is attached, it will store the error and emit it once a listener is added (or a timeout occurs).

Type Parameters

  • T extends NodeJS.EventEmitter = NodeJS.EventEmitter