std/async/mod.ts

25 lines
600 B
TypeScript

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
/**
* Provide help with asynchronous tasks like delays, debouncing, deferring, or
* pooling.
*
* ```ts no-assert
* import { delay } from "@std/async/delay";
*
* await delay(100); // waits for 100 milliseconds
* ```
*
* @module
*/
export * from "./abortable.ts";
export * from "./deadline.ts";
export * from "./debounce.ts";
export * from "./delay.ts";
export * from "./mux_async_iterator.ts";
export * from "./pool.ts";
export * from "./tee.ts";
export * from "./retry.ts";