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

x/easyts/time/mod.ts>Ticker#reset

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

Reset stops a ticker and resets its period to the specified duration.

Parameters

ms: number