(error: com.google.firebase.database.DatabaseError, commited: boolean, snapshot: com.google.firebase.database.DataSnapshot)
| 516 | return serializeItems(newData, true); |
| 517 | }, |
| 518 | onComplete(error: com.google.firebase.database.DatabaseError, commited: boolean, snapshot: com.google.firebase.database.DataSnapshot): void { |
| 519 | const ss = DataSnapshot.fromNative(snapshot); |
| 520 | if (error) { |
| 521 | const err = FirebaseError.fromNative(error); |
| 522 | onComplete?.(err, commited, ss); |
| 523 | reject(err); |
| 524 | } else { |
| 525 | onComplete?.(null, commited, ss); |
| 526 | resolve({ |
| 527 | commited, |
| 528 | snapshot: ss, |
| 529 | }); |
| 530 | } |
| 531 | }, |
| 532 | }) |
| 533 | ); |
| 534 | }); |
nothing calls this directly
no test coverage detected