diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-26 21:33:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-26 21:33:31 +0200 |
commit | 68e6560b84f196c82e27a72669684d5506a3a837 (patch) | |
tree | a0652888fa60c92d0d6d8335880961437c76b9f3 /runtime/doc/channel.txt | |
parent | 20c023aee0ceafac9431fb8ab8d169747b5140dd (diff) | |
download | vim-git-68e6560b84f196c82e27a72669684d5506a3a837.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/doc/channel.txt')
-rw-r--r-- | runtime/doc/channel.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index ea0274f40..632628a87 100644 --- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -1,4 +1,4 @@ -*channel.txt* For Vim version 8.1. Last change: 2019 May 05 +*channel.txt* For Vim version 8.1. Last change: 2019 May 12 VIM REFERENCE MANUAL by Bram Moolenaar @@ -155,7 +155,10 @@ Use |ch_status()| to see if the channel could be opened. func MyCloseHandler(channel) < Vim will invoke callbacks that handle data before invoking close_cb, thus when this function is called no more data will - be passed to the callbacks. + be passed to the callbacks. However, if a callback causes Vim + to check for messages, the close_cb may be invoked while still + in the callback. The plugin must handle this somehow, it can + be useful to know that no more data is coming. *channel-drop* "drop" Specifies when to drop messages: "auto" When there is no callback to handle a message. |