[][src]Function libmpv_sys::mpv_command_node_async

pub unsafe extern "C" fn mpv_command_node_async(
    ctx: *mut mpv_handle,
    reply_userdata: u64,
    args: *mut mpv_node
) -> c_int

Same as mpv_command_node(), but run it asynchronously. Basically, this function is to mpv_command_node() what mpv_command_async() is to mpv_command().

See mpv_command_async() for details.

Safe to be called from mpv render API threads.

@param reply_userdata the value mpv_event.reply_userdata of the reply will be set to (see section about asynchronous calls) @param args as in mpv_command_node() @return error code (if parsing or queuing the command fails)