pub fn complete_promise_json<T: Serialize>( promise_id: &PromiseId, value: T, ) -> Result<bool, Error>