pub async fn resolve( value: Result<HostValue, HostError>, ) -> Result<HostValue, HostError>
await a host value: a promise is awaited, the other values are returned