1

I'm new to using firebase-queue for my project and was wondering if there is a way to process data based on an attribute such as priority. Here is a sample of my data structure.

queue
 tasks
 -L6PGTHyZFbM4eBM66Zt
  -priority : 1
 -L6PGTI3KNj8x_zHqZQX
  -priority : 3
 -L6PGTI6tRceLkaDbfA4
  -priority : 5

In this case child L6PGTI6tRceLkaDbfA4 would be handled before L6PGTHyZFbM4eBM66Zt & L6PGTI3KNj8x_zHqZQX

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Sam
  • 651
  • 5
  • 5

0 Answers0