def _check_stream_timeout(started, timeout):
    if timeout:
        elapsed = datetime.datetime.utcnow() - started
        if elapsed.seconds > timeout:
            raise StopIteration
If not loaded, loads the specified class then returns an instance
dataset/ETHPy150Open paddycarey/dweepy/dweepy/streaming.py/_check_stream_timeout--crossover with--dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_library/src/rosbridge_library/internal/ros_loader.py/_get_class