#[unsafe(no_mangle)]pub unsafe extern "C" fn plugin_cancel_async(
_handle: *mut c_void,
_request_id: u64,
) -> boolExpand description
Cancel a pending async request.
§Status
Not yet implemented. This function is reserved for future async API support.
Currently returns false to indicate the operation is not available.
§Planned Behavior
When implemented, this function will:
- Attempt to cancel the pending request identified by
request_id - Return
trueif cancellation succeeded,falseif the request already completed or was not found - The completion callback will NOT be invoked for cancelled requests
§Safety
When implemented, the following invariants must hold:
handlemust be a valid handle fromplugin_init, or nullrequest_idmust be a valid request ID fromplugin_call_async
§Returns
true if cancellation was successful, false otherwise.