async def setup():
    """ Main function """
    connection = await qtm.connect("127.0.0.1")
    if connection is None:
        return

    await connection.stream_frames(components=["3d"], on_packet=on_packet)
async def setup():
    """ Main function """
    connection = await qtm.connect("127.0.0.1")
    if connection is None:
        return

    await connection.stream_frames(components=["3d"], on_packet=on_packet)
async def setup ( ) : connection = await qtm . connect ( "127.0.0.1" ) if connection is None : return await connection . stream_frames ( components = [ "3d" ] , on_packet = on_packet )
Main function
Main function