akka/akka-core

Inconsistent signature of Flow#recoverWithRetries

开放

#20,606 创建于 2016年5月24日

 (3 条评论) (0 个反应) (0 位负责人)Scala (3,547 个派生)batch import
1 - triagedhelp wantedt:stream

仓库指标

星标
 (13,277 个星标)
PR 合并指标
 (平均合并 8天 19小时) (30 天内合并 10 个 PR)

描述

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
})

贡献者指南