haystack

Форк
0
/
component-greedy-d6630af901e96a4c.yaml 
12 строк · 551.0 Байт
1
---
2
features:
3
  - |
4
    Add `is_greedy` argument to `@component` decorator.
5
    This flag will change the behaviour of `Component`s with inputs that have a `Variadic` type
6
    when running inside a `Pipeline`.
7

8
    Variadic `Component`s that are marked as greedy will run as soon as they receive their first input.
9
    If not marked as greedy instead they'll wait as long as possible before running to make sure they
10
    receive as many inputs as possible from their senders.
11

12
    It will be ignored for all other `Component`s even if set explicitly.
13

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.