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

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

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

Set options on {handle}: "callback" the channel callback "timeout" default read timeout in msec "mode" mode for the whole channel See |ch_open()| for more explanation. {handle} can be a Channel or a Job that has a Channel. Note that changing the mode may cause queued messages to be lost. These options cannot be changed: "waittime" only applies to |ch_open()| Can also be used as a |method|: GetChannel()->ch_setoptions(options)

Parameters

denops: Denops
handle: unknown
options: unknown

Returns

Promise<unknown>