MCPcopy Index your code
hub / github.com/angular/angular / source

Function source

packages/core/test/resource/resource_snapshot_spec.ts:73–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 it('should memoize the snapshot function', () => {
72 let readCount = 0;
73 function source(): ResourceSnapshot<string> {
74 readCount++;
75 return {
76 status: 'resolved',
77 value: 'test',
78 };
79 }
80
81 const res = resourceFromSnapshots(source);
82

Callers 15

toObservableFunction · 0.85
throwStatusAndErrorsFunction · 0.85
TestCmpClass · 0.85
ServiceClass · 0.85
DirClass · 0.85
watch_spec.tsFile · 0.85
signal_spec.tsFile · 0.85
setupAndReturnRefFunction · 0.85
computed_spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…