akka/akka-core

[Docs] Add Scatter Gather First Completed pattern under Interaction Patterns

オープン

#29,920 opened on 2020/12/22

 (0 件のコメント) (1 件のリアクション) (0 人の担当者)Scala (3,547 件のフォーク)batch import
1 - triagedhelp wantedt:docst:typed

Repository metrics

Stars
 (13,277 個のスター)
PR merge metrics
 (平均マージ 8d 19h) (30d で 10 merged PRs)

説明

Add some explanation and example code on how to achieve Scatter Gather First Completed under https://doc.akka.io/docs/akka/current/typed/interaction-patterns.html

Scatter Gather First Completed delivers a message to multiple actors, waits for the first reply, and then sends it to the original requestor. Other replies are ignored. See also: https://doc.akka.io/docs/akka/current/routing.html#scattergatherfirstcompletedpool-and-scattergatherfirstcompletedgroup

コントリビューターガイド