Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/easyts/time/time.ts>tick

js library written with ts, use select and chan like golang in js.
Latest
function tick
import { tick } from "https://deno.land/x/easyts@0.1.3/time/time.ts";

Tick is a convenience wrapper for new Ticker 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". Unlike NewTicker

Parameters

ms: number