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

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

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

Open a channel to {address}. See channel. Returns a Channel. Use ch_status() to check for failure.

{address} is a String, see channel-address for the possible accepted forms.

If {options} is given it must be a Dictionary. See channel-open-options.

Can also be used as a method:

GetAddress()->ch_open()

Parameters

denops: Denops
address: unknown
optional
options: unknown

Returns

Promise<unknown>