import { time } from "https://deno.land/x/async_channels@v1.0.0-rc8/mod.ts";
const { timeout } = time;
timeout
creates a channel that will close after duration
milliseconds.
type
(duration: number, options?: ChannelOptions) => Receiver<void>
import { time } from "https://deno.land/x/async_channels@v1.0.0-rc8/mod.ts";
const { timeout } = time;
timeout
creates a channel that will close after duration
milliseconds.