Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>jobstop

๐Ÿ“š Standard module for denops.vim
Go to Latest
function jobstop
import { jobstop } from "https://deno.land/x/denops_std@v3.7.0/function/nvim/mod.ts";

Stop |job-id| {id} by sending SIGTERM to the job process. If the process does not terminate after a timeout then SIGKILL will be sent. When the job terminates its |on_exit| handler (if any) will be invoked. See |job-control|. Returns 1 for valid job id, 0 for invalid id, including jobs have exited or stopped.

Parameters

denops: Denops
id: unknown

Returns

Promise<unknown>