src/roslibpy/comm/comm_autobahn.py
def blocking_call_from_thread(self, callback, timeout):
        """Call the given function from a thread, and wait for the result synchronously
        for as long as the timeout will allow.

        Args:
            callback: Callable function to be invoked from the thread.
            timeout (:obj: int): Number of seconds to wait for the response before
                raising an exception.

        Returns:
            The results from the callback, or a timeout exception.
        """
        result_placeholder = defer.Deferred()
        if timeout:
            result_placeholder.addTimeout(timeout, reactor, onTimeoutCancel=self.raise_timeout_exception)
        return threads.blockingCallFromThread(reactor, callback, result_placeholder)
Call the given function from a thread, and wait for the result synchronously
        for as long as the timeout will allow.

        Args:
            callback: Callable function to be invoked from the thread.
            timeout (:obj: int): Number of seconds to wait for the response before
                raising an exception.

        Returns:
            The results from the callback, or a timeout exception.
        
Call the given function from a thread, and wait for the result synchronously
for as long as the timeout will allow.
Call the given function from a thread and wait for the result synchronously for as long as the timeout will allow .
def blocking_call_from_thread(self, callback, timeout):
        result_placeholder = defer.Deferred()
        if timeout:
            result_placeholder.addTimeout(timeout, reactor, onTimeoutCancel=self.raise_timeout_exception)
        return threads.blockingCallFromThread(reactor, callback, result_placeholder)
def blocking_call_from_thread ( self , callback , timeout ) : result_placeholder = defer . Deferred ( ) if timeout : result_placeholder . addTimeout ( timeout , reactor , onTimeoutCancel = self . raise_timeout_exception ) return threads . blockingCallFromThread ( reactor , callback , result_placeholder )
Call the given function from a thread, and wait for the result synchronously
for as long as the timeout will allow.
Call the given function from a thread and wait for the result synchronously for as long as the timeout will allow .
"""Call the given function from a thread, and wait for the result synchronously
        for as long as the timeout will allow.

        Args:
            callback: Callable function to be invoked from the thread.
            timeout (:obj: int): Number of seconds to wait for the response before
                raising an exception.

        Returns:
            The results from the callback, or a timeout exception.
        """
The results from the callback, or a timeout exception.
The results from the callback or a timeout exception .
self
callback
Callable function to be invoked from the thread.
Callable function to be invoked from the thread .
timeout
timeout (
Number of seconds to wait for the response before
raising an exception.
Number of seconds to wait for the response before raising an exception .