MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / constructor

Method constructor

packages/context/src/binding.ts:408–415  ·  view source on GitHub ↗
(
    key: BindingAddress<T>,
    public isLocked: boolean = false,
  )

Source from the content-addressed store, hash-verified

406 }
407
408 constructor(
409 key: BindingAddress<T>,
410 public isLocked: boolean = false,
411 ) {
412 super();
413 BindingKey.validate(key);
414 this.key = key.toString();
415 }
416
417 /**
418 * Cache the resolved value by the binding scope

Callers

nothing calls this directly

Calls 2

validateMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected