def METHOD_NAME(self, decorator=None, name='deferred', extra_code=(), adder=None):
    event = '{}_{}'.format(name, uuid4())
    self._deferred_events.append({
        'decorator': decorator, 'event': event, 'extra_code': extra_code, 'adder': adder})
    return event