pub fn settle_promise(id: u32, result: Result<HostValue, HostError>)
settle a host promise: the task that awaits it is polled again by the host