Page Contents

Home > @loopback/core > extensions

extensions namespace

Signature:

export declare namespace extensions 

Functions

Function Description
[list(extensionPointName, metadata)](/doc/en/lb4/apidocs.core.extensions.list.html) Inject an array of resolved extension instances for the extension point. The list is a snapshot of registered extensions when the injection is fulfilled. Extensions added or removed afterward won't impact the list.
[view(extensionPointName, metadata)](/doc/en/lb4/apidocs.core.extensions.view.html) Inject a `ContextView` for extensions of the extension point. The view can then be listened on events such as `bind`, `unbind`, or `refresh` to react on changes of extensions.