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@v3.6.0/function/vim/mod.ts";

Open a channel to {address}. See |channel|. Returns a Channel. Use |ch_status()| to check for failure. {address} 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>