Page Contents

Home > @loopback/core > extensions

extensions namespace

Signature:

export declare namespace extensions 

Functions

Function Description
list(extensionPointName, metadata) 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) 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.