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

x/denops_std/function/vim/mod.ts>job_getchannel

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

Get the channel handle that {job} is using. To check if the job has no channel:

if string(job_getchannel(job)) == 'channel fail'

Can also be used as a method:

GetJob()->job_getchannel()

Parameters

denops: Denops
job: unknown

Returns

Promise<unknown>