As a generality, you either need something done Now, in which case don't put it in a queue, just do it immediately.
Or you need it done Not Right Now, in which case you stick it in a queue.
Or maybe you need something done Now, but on a different computer, in which case you need RPC of some sort. I would not recommend reinventing RPC using listen/notify.