Skip to main content

RawResultCallback

Type Alias RawResultCallback 

Source
pub type RawResultCallback = unsafe extern "C" fn(goal_id: *const GoalId, status: GoalStatus, result_data: *const u8, result_len: usize, context: *mut c_void);
Expand description

Raw action client result callback.

Called when the action result is received.

ยงSafety

  • goal_id is valid for the duration of the call
  • result_data points to result_len valid bytes (CDR-encoded result)