haystack/releasenotes/notes/async-component-support-machinery-6ea4496241aeb3b2.yaml
Madeesh Kannan 5071e47843
refactor: Rename Component.async_run to Component.run_async for better readablility (#8370)
Using a suffix will keep names logically sorted, less noisy and relegate the async aspect to an implementation/API detail.
2024-09-17 10:10:34 +00:00

7 lines
263 B
YAML

---
features:
- |
Extend core component machinery to support an optional asynchronous `run_async` method in components.
If it's present, it should have the same parameters (and output types) as the run method and must be
implemented as a coroutine.