A promise based queue.