[][src]Type Definition lv2_sys::LV2_Worker_Respond_Function

type LV2_Worker_Respond_Function = Option<unsafe extern "C" fn(handle: LV2_Worker_Respond_Handle, size: u32, data: *const c_void) -> LV2_Worker_Status>;

A function to respond to run() from the worker method.

The data MUST be safe for the host to copy and later pass to work_response(), and the host MUST guarantee that it will be eventually passed to work_response() if this function returns LV2_WORKER_SUCCESS.