std/async/mod.ts

26 lines
692 B
TypeScript
Raw Permalink Normal View History

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
/**
* Provide helpers with asynchronous tasks like {@linkcode delay | delays},
* {@linkcode debounce | debouncing}, {@linkcode retry | retrying}, or
* {@linkcode pooledMap | 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";
2021-05-18 13:39:12 +00:00
export * from "./tee.ts";
2022-11-30 18:45:25 +00:00
export * from "./retry.ts";