2024-01-01 21:11:32 +00:00
|
|
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2024-04-10 02:43:44 +00:00
|
|
|
// This module is browser compatible.
|
2022-04-28 04:08:08 +00:00
|
|
|
|
|
|
|
/**
|
2022-08-11 11:51:20 +00:00
|
|
|
* Provide help with asynchronous tasks like delays, debouncing, deferring, or
|
|
|
|
* pooling.
|
2022-04-28 04:08:08 +00:00
|
|
|
*
|
2024-03-11 09:31:11 +00:00
|
|
|
* ```ts
|
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";
|