import { tick } from "https://deno.land/x/async_channels@v1.0.0-rc8/src/time.ts";
tick
is a convenience wrapper for new Ticker(d)
providing access to the ticking channel only.
While tick
is useful for clients that have no need to shut down the Ticker
, be aware that
without a way to shut it down the underlying Ticker cannot be recovered by the garbage collector; it "leaks".