Skip to main content

get_current_thread_task_host_contract_version

Function get_current_thread_task_host_contract_version 

Source
pub fn get_current_thread_task_host_contract_version() -> u32
Expand description

Return the native CurrentThread task-host ABI expected by the JavaScript package before it invokes either async-runtime host registration. Version 4 reserves and validates an exact registration capability before host installation performs side effects.