Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.ts
File · 0.80
context.unit.ts
File · 0.80
setupBindings
Function · 0.80
createLockedBinding
Function · 0.80
lockBinding
Function · 0.80
component-application.booter.acceptance.ts
File · 0.80
setupBindings
Method · 0.80
setupBindings
Method · 0.80
Calls
no outgoing calls
Tested by
3
setupBindings
Function · 0.64
createLockedBinding
Function · 0.64
lockBinding
Function · 0.64