-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EventBus interface question #6
Comments
Hi, for now, the project ends on the publish of events, I think subscribe should be done very easy, for example, nats and rbmq has nice client libs, but definitely, to have a built-in interface for subscribing should be a nice feature |
Would the Subscribe be something like below, your thoughts?
|
I think it should be counterpart of publish interface type Subscriber interface {
Subscribe(bucket, subset string) (Event, error)
} but I like the word |
Thanks for the response, makes sense to have it as as a separate interface. |
How about something like this
|
I like it, yes for sure, help is welcome :D |
I see EventBus has publish but not a subscribe?
Just curious how the events propagated to projects for querying?
I apologize if subscribe is defined somewhere else as I did not read the source code completely.
The text was updated successfully, but these errors were encountered: