diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2019-03-12 11:35:55 +0200 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2019-09-11 21:08:04 +0300 |
commit | 44f8dccfb6054b08803101ab34dffd9cc8a6245f (patch) | |
tree | 994b04cf4ff106c23b76d7727938c3a3cd9bee3f /DOCS/man | |
parent | ad0a525f20f7dfc31f37f31d6f898963ef1d23c6 (diff) | |
download | mpv-44f8dccfb6054b08803101ab34dffd9cc8a6245f.tar.bz2 mpv-44f8dccfb6054b08803101ab34dffd9cc8a6245f.tar.xz |
js: expose mpv_abort_async_command() (match dbe831bd)
With minor difference from lua, as documented.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/javascript.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/DOCS/man/javascript.rst b/DOCS/man/javascript.rst index 77a2ad8817..8399c77d6a 100644 --- a/DOCS/man/javascript.rst +++ b/DOCS/man/javascript.rst @@ -96,8 +96,10 @@ Where the Lua APIs use ``nil`` to indicate error, JS APIs use ``undefined``. ``mp.command_native(table [,def])`` (LE) -``mp.command_native_async(table [,fn])`` (LE) Note: ``error`` is empty string on -success. +``id = mp.command_native_async(table [,fn])`` (LE) Notes: ``id`` is true-thy on +success, ``fn`` is called always a-sync, ``error`` is empty string on success. + +``mp.abort_async_command(id)`` ``mp.get_property(name [,def])`` (LE) |