(self, handle)
Add a Handle to _scheduled (TimerHandle) or _ready.
Add a Handle to _scheduled (TimerHandle) or _ready.
Add a Handle to _scheduled ( TimerHandle ) or _ready .
def _add_callback(self, handle):
        """Add a Handle to _scheduled (TimerHandle) or _ready."""
        assert isinstance(handle, events.Handle), 'A Handle is required here'
        if handle._cancelled:
            return
        assert not isinstance(handle, events.TimerHandle)
        self._ready.append(handle)
def _add_callback ( self , handle ) : assert isinstance ( handle , events . Handle ) , 'A Handle is required here' if handle . _cancelled : return assert not isinstance ( handle , events . TimerHandle ) self . _ready . append ( handle )