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

Method asGetter

packages/context/src/context-view.ts:248–250  ·  view source on GitHub ↗

* As a `Getter` function

(session?: ResolutionOptionsOrSession)

Source from the content-addressed store, hash-verified

246 * As a `Getter` function
247 */
248 asGetter(session?: ResolutionOptionsOrSession): Getter<T[]> {
249 return () => this.values(session);
250 }
251
252 /**
253 * Get the single value

Callers 2

createViewGetterFunction · 0.95

Calls 1

valuesMethod · 0.95

Tested by

no test coverage detected