Page Contents

Home > @loopback/context > BindingTagFilter

BindingTagFilter interface

Binding filter function that holds a binding tag pattern. Context.find() uses the bindingTagPattern to optimize the matching of bindings by tag to avoid expensive check for all bindings.

Signature:

export interface BindingTagFilter extends BindingFilter 

Extends: BindingFilter

Properties

Property Modifiers Type Description
bindingTagPattern   BindingTag | RegExp A special property on the filter function to provide access to the binding tag pattern which can be utilized to optimize the matching of bindings by tag in a context.