Meteor's way to wait for service request


#1

Would like to get advice from Meteor users here. What is the best approach to setup an event to wait for service request like Uber? Imagine the driver app, when there is a request that is meant for that particular driver, the app will have MODAL pop up with details of the request.

Thanks in advance.

Regards


#2

You can use observeChanges on the client. So you publish all rides to the right user. When the client detects a new one you can trigger the modal.


#3

Ok thanks. observeChanges, noted. I’ll try it out.