Mercurial > vim
diff runtime/doc/channel.txt @ 16808:c002c4899529
Update runtime files.
commit https://github.com/vim/vim/commit/68e6560b84f196c82e27a72669684d5506a3a837
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 26 21:33:31 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 May 2019 21:45:07 +0200 |
parents | 0e473e9e70c2 |
children | e414281d8bb4 |
line wrap: on
line diff
--- 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 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.