pub unsafe extern "C" fn MaaPostTask(
    inst: MaaInstanceHandle,
    entry: MaaStringView,
    param: MaaStringView
) -> MaaTaskId
Available on crate feature internal only.
Expand description

@brief Post a task to the instance.

The entry should be a task specified in the instance’s resources. The param takes the same form as the pipeline json and will override the set parameters in the json file.

@param inst @param entry The entry of the task. @param param The parameter of the task. @return MaaTaskId The id of the task.