MCPcopy Create free account
hub / github.com/langchain-ai/deepagents / DeferredAction

Class DeferredAction

libs/code/deepagents_code/app.py:1297–1304  ·  view source on GitHub ↗

An action deferred until the current busy state resolves.

Source from the content-addressed store, hash-verified

1295
1296@dataclass(frozen=True, slots=True, kw_only=True)
1297class DeferredAction:
1298 """An action deferred until the current busy state resolves."""
1299
1300 kind: DeferredActionKind
1301 """Identity key for deduplication — one of `DeferredActionKind`."""
1302
1303 execute: Callable[[], Awaitable[None]]
1304 """Async callable that performs the actual work."""
1305
1306
1307@dataclass(frozen=True, slots=True)

Calls

no outgoing calls