Page Contents

Home > @loopback/context > Context > getOwnerContext

Context.getOwnerContext() method

Get the owning context for a binding key

Signature:

getOwnerContext(key: BindingAddress): Context | undefined;

Parameters

Parameter Type Description
key BindingAddress Binding key

Returns:

Context | undefined