Index
Methods
Methods
catch
- 
							Implements the Promise<LoadBundleTaskProgress>.catchinterface.Type parameters- 
									R
 Parameters- 
									onRejected: (a: Error) => R | PromiseLike<R>Called when an error occurs during bundle loading. - 
											- 
													Parameters- 
															a: Error
 Returns R | PromiseLike<R>
- 
															
 
- 
													
 
- 
											
 Returns Promise<R | LoadBundleTaskProgress>
- 
									
onProgress 
					- 
							Registers functions to listen to bundle loading progress events. Parameters- 
									Optional next: (progress: LoadBundleTaskProgress) => anyCalled when there is a progress update from bundle loading. Typically nextcalls occur each time a Firestore document is loaded from the bundle.- 
											- 
													Parameters- 
															progress: LoadBundleTaskProgress
 Returns any
- 
															
 
- 
													
 
- 
											
- 
									Optional error: (error: Error) => anyCalled when an error occurs during bundle loading. The task aborts after reporting the error, and there should be no more updates after this. - 
											- 
													Parameters- 
															error: Error
 Returns any
- 
															
 
- 
													
 
- 
											
- 
									Optional complete: () => voidCalled when the loading task is complete. - 
											- 
													Returns void
 
- 
													
 
- 
											
 Returns void
- 
									
then
- 
							
							Implements the Promise<LoadBundleTaskProgress>.theninterface.Type parameters- 
									T
- 
									R
 Parameters- 
									Optional onFulfilled: (a: LoadBundleTaskProgress) => T | PromiseLike<T>Called on the completion of the loading task with a final LoadBundleTaskProgressupdate. The update will always have itstaskStateset to"Success".- 
											- 
													ParametersReturns T | PromiseLike<T>
 
- 
													
 
- 
											
- 
									Optional onRejected: (a: Error) => R | PromiseLike<R>Called when an error occurs during bundle loading. - 
											- 
													Parameters- 
															a: Error
 Returns R | PromiseLike<R>
- 
															
 
- 
													
 
- 
											
 Returns Promise<T | R>
- 
									
Represents the task of loading a Firestore bundle. It provides progress of bundle loading, as well as task completion and error events.
The API is compatible with
Promise<LoadBundleTaskProgress>.