Skip to main content
Module

x/denops_std/function/mod.ts>timer_stop

📚 Standard module for denops.vim
Go to Latest
function timer_stop
import { timer_stop } from "https://deno.land/x/denops_std@v6.4.0/function/mod.ts";

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>