Skip to content

Commit

Permalink
docs(async): add module example (#4465)
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua authored Mar 11, 2024
1 parent e7cf89d commit 09a04d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions async/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

Expand Down

0 comments on commit 09a04d8

Please sign in to comment.