MCPcopy
hub / github.com/loopbackio/loopback-next / lock

Method lock

packages/context/src/binding.ts:629–632  ·  view source on GitHub ↗

* Lock the binding so that it cannot be rebound

()

Source from the content-addressed store, hash-verified

627 * Lock the binding so that it cannot be rebound
628 */
629 lock(): this {
630 this.isLocked = true;
631 return this;
632 }
633
634 /**
635 * Emit a `changed` event

Callers 8

binding.unit.tsFile · 0.80
context.unit.tsFile · 0.80
setupBindingsFunction · 0.80
createLockedBindingFunction · 0.80
lockBindingFunction · 0.80
setupBindingsMethod · 0.80
setupBindingsMethod · 0.80

Calls

no outgoing calls

Tested by 3

setupBindingsFunction · 0.64
createLockedBindingFunction · 0.64
lockBindingFunction · 0.64