def METHOD_NAME(self, key, msg):
    if msg['bsid'] not in self._waiters:
        return
    # pop this bsid from the waiters list,
    d, brids = self._waiters.pop(msg['bsid'])
    # ..and potentially stop consuming buildset completion notifications
    self._updateWaiters()
    # fire the callback to indicate that the triggered build is complete
    d.callback((msg['results'], brids))