MCPcopy Index your code
hub / github.com/NativeScript/firebase / next

Method next

apps/demo/src/plugin-demos/firebase-storage.ts:39–47  ·  view source on GitHub ↗
(snapshot)

Source from the content-addressed store, hash-verified

37 console.error('uploadText', 'error', err);
38 },
39 next(snapshot) {
40 console.info('uploadText', 'next', 'state', snapshot.state, snapshot.error);
41 if (snapshot.totalBytes) {
42 console.log('uploadFile', 'next', 'progress %', snapshot.bytesTransferred / snapshot.totalBytes ?? 0 * 100);
43 }
44 if (snapshot.error) {
45 console.error('uploadText', 'next', snapshot.error);
46 }
47 },
48 });
49 }
50

Callers 8

forEachMethod · 0.45
onEventMethod · 0.45
onEventMethod · 0.45
onSnapshotMethod · 0.45
onSnapshotMethod · 0.45
deserializeFunction · 0.45
onNextOrObserverMethod · 0.45
onMethod · 0.45

Calls 2

logMethod · 0.65
errorMethod · 0.45

Tested by

no test coverage detected