MCPcopy Create free account
hub / github.com/marijnh/Eloquent-JavaScript / store

Method store

src/client/sandbox.mjs:449–452  ·  view source on GitHub ↗
(value, result)

Source from the content-addressed store, hash-verified

447 }
448
449 store(value, result) {
450 this.work[value] = Promise.resolve(result)
451 return this.done[value] = result
452 }
453
454 get(value) {
455 return this.done[value]

Callers 3

evalModuleMethod · 0.80
setupEnvMethod · 0.80
sandbox.mjsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected