How to have steemd notify on new blocks?

in #steemd8 years ago

I am looking for a way to have the steemd process notify me over the websocket of new blocks.  I'm currently poling steemd for blocks based on block number but it would be a lot easier to have steemd push that information over websocket.  

Any idea how I can accomplish this or if steemd supports this functionality?

Sort:  

There is a new block every 3 seconds...

Would still be nice to have it push to the websock instead of having to poll.