Page Contents

Home > @loopback/context > Context > _parentEventListeners

Context._parentEventListeners property

Event listeners for parent context keyed by event names. It keeps track of listeners from this context against its parent so that we can remove these listeners when this context is closed.

Signature:

protected _parentEventListeners: Map<string, (...args: any[]) => void> | undefined;