With Combine, how can you flatMap with nil-coalescing

前端 未结 0 869
抹茶落季
抹茶落季 2020-12-18 15:18

I have a publisher which emits an optional output type. I need to flatMap to a new publisher if the output isn\'t nil, or fallback to an empty publ

相关标签:
回答
  • 消灭零回复
提交回复
热议问题