Skip to content
  • Gert's avatar
    Rewrite queue item handler interface to use promises (futures) · 1ee58dd3
    Gert authored
    This rewrites all queue item handlers to return a promise. The actual
    response message isn't sent over the message until the promise
    actually resolves completely.
    
    All queue item handlers currently still do their work synchronously
    and return an artificially created promise, but this change allows
    each queue handler to start doing some work only after some other
    promise resolves (and, eventually, something asynchronous is done).
    
    References #312
    1ee58dd3