marcojakob / dart-event-bus

An Event Bus using Dart Streams for decoupling applications
MIT License
755 stars 82 forks source link

Support stick events? #23

Closed wdp1990821 closed 5 years ago

marcojakob commented 5 years ago

What do you mean by that?

ozyl commented 4 years ago

After sending the event, the newly registered listener can receive the event。Hope to support it。

marcojakob commented 4 years ago

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.

ozyl commented 4 years ago

thanks for the reply,use EventBus.customController (BehaviorSubject ()) ;can achieve this effect.

sunnykinger commented 2 years ago

thanks for the reply,use EventBus.customController (BehaviorSubject ()) ;can achieve this effect.

how to remove that event from the bus?