(self, callback, *args, context=None)
return handle
Arrange for a callback to be called as soon as possible.

        This operates as a FIFO queue: callbacks are called in the
        order in which they are registered.  Each callback will be
        called exactly once.

        Any positional arguments after the callback will be passed to
        the callback when it is called.
Arrange for a callback to be called as soon as possible.
Arrange for a callback to be called as soon as possible .
def call_soon(self, callback, *args, context=None):
        """Arrange for a callback to be called as soon as possible.

        This operates as a FIFO queue: callbacks are called in the
        order in which they are registered.  Each callback will be
        called exactly once.

        Any positional arguments after the callback will be passed to
        the callback when it is called.
        """
        self._check_closed()
        if self._debug:
            self._check_thread()
            self._check_callback(callback, 'call_soon')
        handle = self._call_soon(callback, args, context)
        if handle._source_traceback:
            del handle._source_traceback[-1]
        return handle
def call_soon ( self , callback , * args , context = None ) : self . _check_closed ( ) if self . _debug : self . _check_thread ( ) self . _check_callback ( callback , 'call_soon' ) handle = self . _call_soon ( callback , args , context ) if handle . _source_traceback : del handle . _source_traceback [ - 1 ] return handle