* Creates a promise that will be resolved at a set time in the future. * @param {number} ms The amount of time, in milliseconds, to wait before * resolving the promise. * @return {!Promise } The promise.
(ms)
| 31 | * @return {!Promise<void>} The promise. |
| 32 | */ |
| 33 | function delayed(ms) { |
| 34 | return new Promise((resolve) => setTimeout(resolve, ms)) |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Wraps a function that expects a node-style callback as its final |
nothing calls this directly
no outgoing calls
no test coverage detected