pub unsafe extern "C" fn module_run__blocking_launch(
fn_handle: FunctionHandle,
input_ptr: *const u8,
input_len: u32,
__ark_ffi_output: *mut RequestHandle,
) -> ErrorCode
Expand description
Launch a module in a blocking/synchronous manner.
This will block until the execution of the module is done.
Which guarantees that is_ready
will return that it is ready directly after this.
ยงReturns
These may be returned, but the host can also choose to return success on any launch
and have retrieve
return the error codes
crate::ErrorCode::Success
- if module was successfully launchedcrate::ErrorCode::NotFound
- if the module function was not foundcrate::ErrorCode::InternalError
- something else went wrong during launch