2024-01-01 21:11:32 +00:00
|
|
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2024-08-20 03:46:06 +00:00
|
|
|
// This module is browser compatible.
|
2022-04-28 04:08:08 +00:00
|
|
|
|
|
|
|
/**
|
2024-06-14 10:14:32 +00:00
|
|
|
* Provide helpers with asynchronous tasks like {@linkcode delay | delays},
|
|
|
|
* {@linkcode debounce | debouncing}, {@linkcode retry | retrying}, or
|
|
|
|
* {@linkcode pooledMap | pooling}.
|
2022-04-28 04:08:08 +00:00
|
|
|
*
|
2024-06-03 04:10:27 +00:00
|
|
|
* ```ts no-assert
|
2024-04-29 02:57:30 +00:00
|
|
|
* import { delay } from "@std/async/delay";
|
2024-03-11 09:31:11 +00:00
|
|
|
*
|
|
|
|
* await delay(100); // waits for 100 milliseconds
|
|
|
|
* ```
|
|
|
|
*
|
2022-04-28 04:08:08 +00:00
|
|
|
* @module
|
|
|
|
*/
|
|
|
|
|
2022-03-08 05:46:45 +00:00
|
|
|
export * from "./abortable.ts";
|
|
|
|
export * from "./deadline.ts";
|
2021-07-10 12:30:34 +00:00
|
|
|
export * from "./debounce.ts";
|
2020-05-09 12:34:47 +00:00
|
|
|
export * from "./delay.ts";
|
|
|
|
export * from "./mux_async_iterator.ts";
|
2020-07-29 00:44:34 +00:00
|
|
|
export * from "./pool.ts";
|
2021-05-18 13:39:12 +00:00
|
|
|
export * from "./tee.ts";
|
2022-11-30 18:45:25 +00:00
|
|
|
export * from "./retry.ts";
|