import { time } from "https://deno.land/x/async_channels@v1.0.0-alpha54/mod.ts";
const { Ticker } = time;
stop
turns off a ticker. After stop
, no more ticks will be sent.
stop
does not close the channel, to prevent a concurrent goroutine reading from the
channel from seeing an erroneous "tick".