Skip to main content

plugin_cancel_async

Function plugin_cancel_async 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn plugin_cancel_async( _handle: *mut c_void, _request_id: u64, ) -> bool
Expand description

Cancel an async request (placeholder for future implementation)

§Safety

  • handle must be a valid handle from plugin_init, or null
  • request_id must be a valid request ID from plugin_call_async

§Returns

true if cancellation was successful, false otherwise