Skip to main content
Module

x/ddc_vim/deps.ts>fn.timer_stop

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.timer_stop
import { fn } from "https://deno.land/x/ddc_vim@v2.3.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<unknown>