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

Method fromNative

packages/firebase-firestore/index.ios.ts:1142–1149  ·  view source on GitHub ↗
(batch: FIRWriteBatch)

Source from the content-addressed store, hash-verified

1140 _native: FIRWriteBatch;
1141
1142 static fromNative(batch: FIRWriteBatch) {
1143 if (batch instanceof FIRWriteBatch) {
1144 const b = new WriteBatch();
1145 b._native = batch;
1146 return b;
1147 }
1148 return null;
1149 }
1150
1151 commit(): Promise<void> {
1152 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected