# tf_agents.utils.eager_utils.Future

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/utils/eager_utils.py#L89-L132) |

Converts a function or class method call into a future callable.

    tf_agents.utils.eager_utils.Future(
        func_or_method, *args, **kwargs
    )

## Methods

### `__call__`

[View source](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/utils/eager_utils.py#L113-L132)

    __call__(
        *args, **kwargs
    )

If *args/*\*kwargs are given they would replace those given at init.

<br />

<br />

<br />

| Args ||
|---|---|
| `*args` | List of extra arguments. |
| `**kwargs` | Dict of extra keyword arguments. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| The result of func_or_method(\*args, \*\*kwargs). ||

<br />