diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-03 08:40:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 08:40:54 -0700 |
commit | b8f2436febcc5d68e572d3703a21368e69ac1cb8 (patch) | |
tree | 6201ec88d4242a1dd4f57defc036293eb7bf3d7d /runtime | |
parent | 03be64ce2ac1bd941996024a5bd0e3f9fa974445 (diff) | |
parent | 6242bac90461afb659c5536f9efa8e84775e9df2 (diff) | |
download | rneovim-b8f2436febcc5d68e572d3703a21368e69ac1cb8.tar.gz rneovim-b8f2436febcc5d68e572d3703a21368e69ac1cb8.tar.bz2 rneovim-b8f2436febcc5d68e572d3703a21368e69ac1cb8.zip |
Merge #10915 'jobwait(): fix race if job exits quickly'
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index f45f99ede2..06f88955c9 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5411,7 +5411,8 @@ jobstop({id}) *jobstop()* See |job-control|. jobwait({ids}[, {timeout}]) *jobwait()* - Wait for a set of jobs to complete. + Wait for a set of jobs and their |on_exit| handlers to + complete. {ids} is a list of |job-id|s to wait for. {timeout} is the maximum waiting time in milliseconds, -1 @@ -5427,10 +5428,10 @@ jobwait({ids}[, {timeout}]) *jobwait()* Returns a list of len({ids}) integers, where each integer is the wait-result of the corresponding job. Each wait-result is one of the following: - * Exit-code, if the job exited - * -1 if the timeout was exceeded - * -2 if the job was interrupted - * -3 if the |job-id| is invalid + Exit-code, if the job exited + -1 if the timeout was exceeded + -2 if the job was interrupted (by |CTRL-C|) + -3 if the job-id is invalid join({list} [, {sep}]) *join()* Join the items in {list} together into one String. |