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

x/ddc_vim/deps.ts>fn.timer_stop

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