# DeferredAction

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/app/DeferredAction)

An action deferred until the current busy state resolves.

## Signature

```python
DeferredAction(
    self,
    *,
    kind: DeferredActionKind,
    execute: Callable[[], Awaitable[None]],
)
```

## Constructors

```python
__init__(
    self,
    *,
    kind: DeferredActionKind,
    execute: Callable[[], Awaitable[None]],
) -> None
```

| Name | Type |
|------|------|
| `kind` | `DeferredActionKind` |
| `execute` | `Callable[[], Awaitable[None]]` |


## Properties

- `kind`
- `execute`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a98f0dfa8d534d8a1885b524632400e52db22ac6/libs/code/deepagents_code/app.py#L1011)