-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
FEATURE REQUEST
Hey guys,
First of all, thanks for all the good work you've done with Tendermint, it's a really great project!
I have a question / feature request about pub-sub events, and I wasn't able to find a good answer in the code.
I currently have my client app subscribed to TMCore's new block events and this is really handy.
But I haven't found a way to fire an event from my ABCI app to the client app (unless I open a dedicated connection between the two).
I'd like to re-use TMCore's pub-sub system and be able to fire such events from my ABCI app and have TMCore forward the event to connected clients. Maybe I have missed something, but it looks like I can't do that right now.
Would it be reasonable to add such a feature? Or do you think it's a bad design and I should have a dedicated connection between my client and my ABCI app? Or do you see another solution?
Note: in my case I'm compiling Tendermint with my ABCI, so they are part of the same process. I can understand that in the general case where Tendermint and the ABCI app are separate processes, this feature might be a bit heavy so I would understand if you just tell me that this is a bad idea :)
Thanks!