Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@v3.8.1/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 and has the form "hostname:port", e.g., "localhost:8765". When using an IPv6 address, enclose it within square brackets. E.g., "[2001:db8::1]:8765". 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>