Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

loadBundle

Loads a Firestore bundle into the local cache.

function loadBundle(firestore: Firestore, bundleData: ReadableStream<Uint8Array> | ArrayBuffer | string): LoadBundleTask;
§
loadBundle(firestore: Firestore, bundleData: ReadableStream<Uint8Array> | ArrayBuffer | string): LoadBundleTask
[src]

§Parameters

§
firestore: Firestore
[src]
  • The Firestore instance to load bundles for.
§
bundleData: ReadableStream<Uint8Array> | ArrayBuffer | string
[src]
  • An object representing the bundle to be loaded. Valid objects are ArrayBuffer, ReadableStream<Uint8Array> or string.

§Return Type

§

A LoadBundleTask object, which notifies callers with progress updates, and completion or error events. It can be used as a Promise<LoadBundleTaskProgress>.