Is Returning a value and also have an escaping parameter in the same function considered bad practice?

后端 未结 0 1362
眼角桃花
眼角桃花 2020-11-30 06:49

Is this code considered bad practice? Is there any benefit or downside to having both a return value and a completion handler in the same function?

For example:

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