Interface and implementation for an optionally async return method

后端 未结 0 1045
一生所求
一生所求 2021-02-15 21:08

I\'m wondering what the optimal way to go when you\'ve got an interface method, whose implementations may return sync value in one implementation and async value in another.

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