I have to update a chart once a new entry is there in a stream. In order to do so I have to wait till the entry is added to the stream.But it seems addStreamEntry() is making asynchronous call.So is there a way to make the function call synchronous or use any call back for the function?