FirebaseExtended / firebase-queue

MIT License
786 stars 108 forks source link

How can I send a response to my client that the submitted task has been Completed by the worker? #33

Closed sivaramsi closed 8 years ago

sivaramsi commented 8 years ago

In my client Will I have to watch the task for any changes in states or any other way to do this.

cbraynor commented 8 years ago

Watching the state (or deletion) of the task that the client pushed onto the queue is a great way to monitor progress from the client.

You could update some other location in your Firebase database that both the client and the queue worker know about, but that gets complicated quickly and is unnecessary. There's currently no way to push data to a client that's not listening on a Firebase reference.