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

Method onNextOrObserver

packages/firebase-storage/index.android.ts:125–134  ·  view source on GitHub ↗
(param0)

Source from the content-addressed store, hash-verified

123 !!complete,
124 new org.nativescript.firebase.storage.FirebaseStorage.StorageTask.Callback<any>({
125 onNextOrObserver(param0) {
126 if (hasNextOrObserver) {
127 const task = TaskSnapshot.fromNative(param0);
128 if (typeof nextOrObserver === 'function') {
129 nextOrObserver(task);
130 } else {
131 nextOrObserver?.next(task);
132 }
133 }
134 },
135 onComplete() {
136 if (hasNextOrObserver) {
137 if (typeof nextOrObserver === 'object') {

Callers

nothing calls this directly

Calls 2

fromNativeMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected