1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

manpage: mention that there's a Lua API for async commands

But don't tell the reader which those APIs are. Hope the user will just
search for "async" in the Lua section (lua.rst). But of course, nobody
will ever care about anything related to this.
This commit is contained in:
wm4 2019-07-07 20:39:58 +02:00
parent 023b5964b0
commit 9d97c4d814

View File

@ -1130,6 +1130,8 @@ command behaves by itself. There are the following cases:
- Async libmpv command API (e.g. ``mpv_command_async()``) never blocks the
caller, and always notify their completion with a message. The ``sync`` and
``async`` prefixes make no difference.
- Lua also provides APIs for running async commands, which behave similar to the
C counterparts.
- In all cases, async mode can still run commands in a synchronous manner, even
in detached mode. This can for example happen in cases when a command does not
have an asynchronous implementation. The async libmpv API still never blocks