'Register a one-time observer for an event.
Like L{addObserver}, but is only triggered at most once. See there
for a description of the parameters.'

def addOnetimeObserver(self, event, observerfn, priority=0, *args, **kwargs):

    self._addObserver(True, event, observerfn, priority, *args, **kwargs)
