Skip to main content
Latest
function fn.timer_stop
import { fn } from "https://deno.land/x/denops_lsputil@v0.9.4/deps.ts";
const { timer_stop } = fn;

Stop a timer. The timer callback will no longer be invoked. {timer} is an ID returned by timer_start(), thus it must be a Number. If {timer} does not exist there is no error.

Can also be used as a method:

GetTimer()->timer_stop()

only available when compiled with the +timers feature

Parameters

denops: Denops
timer: unknown

Returns

Promise<void>