From 09a04d8056d96e21e476af613dc89ee268a87e31 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Mon, 11 Mar 2024 20:31:11 +1100 Subject: [PATCH] docs(async): add module example (#4465) --- async/mod.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/async/mod.ts b/async/mod.ts index ee64d9cf8..ce487fb4f 100644 --- a/async/mod.ts +++ b/async/mod.ts @@ -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 */