MCPcopy Create free account
hub / github.com/NativeScript/firebase / cancel

Method cancel

packages/firebase-storage/index.ios.ts:114–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 }
113
114 cancel(): boolean {
115 this.native?.cancel();
116 return this.native.snapshot.progress.cancelled;
117 }
118
119 on(event: TaskEvent, nextOrObserver?: TaskSnapshotObserver | ((a: TaskSnapshot) => any), error?: (a: FirebaseError) => any, complete?: () => void) {
120 if (event !== TaskEvent.STATE_CHANGED) {

Callers

nothing calls this directly

Calls 1

cancelMethod · 0.65

Tested by

no test coverage detected