(timeout: number)
| 528 | * @returns A promise that resolves after `timeout` milliseconds. |
| 529 | */ |
| 530 | export function sleep(timeout: number): Promise<void> { |
| 531 | return new Promise((resolve) => { |
| 532 | timeoutManager.setTimeout(resolve, timeout) |
| 533 | }) |
| 534 | } |
| 535 | |
| 536 | /** |
| 537 | * Applies a query's `structuralSharing` option when writing new data. |
no test coverage detected