'Set the internal flag to ``True``. All waiters are awakened.
Calling `.wait` once the flag is set will not block.'

def set(self):

    if (not self._future.done()):
        self._future.set_result(None)
