UNPKG

@loopback/docs

Version:
23 lines (15 loc) 826 B
--- lang: en title: 'API docs: context.context._parenteventlisteners' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.context.context._parenteventlisteners.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [Context](./context.context.md) &gt; [\_parentEventListeners](./context.context._parenteventlisteners.md) ## 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. <b>Signature:</b> ```typescript protected _parentEventListeners: Map<string, (...args: any[]) => void> | undefined; ```