diff options
| author | apollo1321 <[email protected]> | 2026-04-30 23:47:36 +0300 |
|---|---|---|
| committer | apollo1321 <[email protected]> | 2026-05-01 00:18:26 +0300 |
| commit | 28bec054fee899ed13f02307b7b66ad8f43882e5 (patch) | |
| tree | 46a54f7a838913e945f2c861e3cb86abbe14c141 /contrib/tools/python3/Python/pythonrun.c | |
| parent | 77fbac2c3dd7b0aa9f5fe5380b9d311c7a7ab86d (diff) | |
YT-23337: Add AnySetMatching future combiner
Add TAnySetMatchingFutureCombiner — a new combiner that resolves as soon as any input future satisfies a user-supplied predicate. When a matching result arrives the remaining futures are cancelled (CancelInputOnShortcut). If all futures complete without a match the combiner still resolves, returning the full result set with MatchingIndex = nullopt.
Supports both (const TErrorOr<T>&) and (int, const TErrorOr<T>&) predicate signatures so callers can inspect the original future index.
commit_hash:80363bd6b843bb895fa398d66ee31910a91a7d73
Diffstat (limited to 'contrib/tools/python3/Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
