Wait for next emitted value of a Stream

后端 未结 0 412
借酒劲吻你
借酒劲吻你 2021-02-05 01:57

In Dart, is there any way to get a Future from a Stream that would complete once a new item is emitted on that stream?

Something like:

void main() async {
         


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