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