* Register a callback to be executed when the collection first becomes ready * Useful for preloading collections * @param callback Function to call when the collection first becomes ready * @example * collection.onFirstReady(() => { * console.log('Collection is ready for the first t
(callback: () => void)
| 431 | * }) |
| 432 | */ |
| 433 | public onFirstReady(callback: () => void): void { |
| 434 | return this._lifecycle.onFirstReady(callback) |
| 435 | } |
| 436 | |
| 437 | /** |
| 438 | * Check if the collection is ready for use |
no outgoing calls
no test coverage detected