# FunctionResultFuture 类

## 简要

代表无服务器云函数异步调用运行结果的类。

如果使用异步编程方式，该类支持使用 `await` 关键字等待无服务器云函数运行完成。

{% hint style="danger" %}
请注意，您不应该直接构造该类的类实例，而是应该使用 Client 类的类实例方法 easy\_invoke 获得一个该类的实例，否则行为可能是未定义的。
{% endhint %}

```python
class FunctionResultFuture(asyncio.Future)
```

## 适用于

#### Tencent Cloud SDK for Python

产品软件包：tencent-cloud-sdk-serverless-functions >= 0.1.1


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://smallso.gitbook.io/tencent-cloud-sdk/python-docs/serverless-functions/class-and-method/function-result-future.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
