docs(async): add module example (#4465)

This commit is contained in:
Asher Gomez 2024-03-11 20:31:11 +11:00 committed by GitHub
parent e7cf89d55d
commit 09a04d8056
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,12 @@
* Provide help with asynchronous tasks like delays, debouncing, deferring, or
* pooling.
*
* ```ts
* import { delay } from "https://deno.land/std@$STD_VERSION/async/delay.ts";
*
* await delay(100); // waits for 100 milliseconds
* ```
*
* @module
*/