MCPcopy
hub / github.com/angular/angularfire / complete

Function complete

src/compat/storage/observable/fromTask.ts:14–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 const progress = (snap: UploadTaskSnapshot) => subscriber.next(snap);
13 const error = e => subscriber.error(e);
14 const complete = () => subscriber.complete();
15 // emit the current snapshot, so they don't have to wait for state_changes
16 // to fire next... this is stale if the task is no longer running :(
17 progress(task.snapshot);

Callers 1

fromTaskFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected