haystack
12 строк · 551.0 Байт
1---
2features:
3- |
4Add `is_greedy` argument to `@component` decorator.
5This flag will change the behaviour of `Component`s with inputs that have a `Variadic` type
6when running inside a `Pipeline`.
7
8Variadic `Component`s that are marked as greedy will run as soon as they receive their first input.
9If not marked as greedy instead they'll wait as long as possible before running to make sure they
10receive as many inputs as possible from their senders.
11
12It will be ignored for all other `Component`s even if set explicitly.
13