Skip to main content
Module

x/dpp_vim/deps.ts>fn.timer_stop

Dark powered plugin manager for Vim/neovim
Latest
function fn.timer_stop
import { fn } from "https://deno.land/x/dpp_vim@v0.2.0/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>