Closed wdp1990821 closed 5 years ago
After sending the event, the newly registered listener can receive the event。Hope to support it。
Maybe you could provide your own custom stream controller that has dis behavior: https://github.com/marcojakob/dart-event-bus#using-custom-stream-controllers
Also have a look at Darts async package. Maybe you'll find some things you can reuse from that.
thanks for the reply,use EventBus.customController (BehaviorSubject ()) ;
can achieve this effect.
thanks for the reply,use
EventBus.customController (BehaviorSubject ()) ;
can achieve this effect.
how to remove that event from the bus?
What do you mean by that?