akka/akka-core

Inconsistent signature of Flow#recoverWithRetries

オープン

#20,606 opened on 2016/05/24

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

Repository metrics

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

説明

We discussed this issue at Gitter.

It feels like recovery function should be inside separate argument group, i.e.

recoverWithRetries(42) {
  case _ => Source.empty
}

looks much better than

recoverWithRetries(42, {
  case _ => Source.empty
})

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