Private keyPrivate loggerPrivate timeoutStatic Readonly captureStatic captureSets or gets the default captureRejection value for all emitters.
Static defaultStatic Readonly errorThis symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error' listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error' event is emitted, therefore the process will still crash if no
regular 'error' listener is installed.
Rest ...args: any[]Rest ...args: any[]Rest ...args: any[]Rest ...args: any[]Rest ...args: any[]Rest ...args: any[]Optional event: string | symbolRest ...args: any[]Static listenerStatic onStatic once
Setup a blocking wait. Used in B(locking)* commands, such as [[BRPOP]][[BRPopCommand]].
Unlike redis, which allows an infinite wait when timoutSeconds is ZERO, unit-redis-ness allows only for a maximum of about 24.85 days
Param: timeoutSeconds
Number of seconds to wait
Param: keyEventNames
Array of events to wait for
Param: emitter
The serverContext is the emitter
Returns
TimedEmitter EventEmitter
Events: timout