Skip to main content
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@v6.4.0/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>