Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/async_channels/src/time.ts>Ticker#stop

Inspired by Go & Clojure Channels, async_channels provides channels as an asynchronous communication method between asynchronous functions.
Go to Latest
method Ticker.prototype.stop
import { Ticker } from "https://deno.land/x/async_channels@v1.0.0-rc5/src/time.ts";

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".