(q_main, port=0, close_port=False, server_secret=None, q_feedback=None)
return server_thread
Start a threaded server to send queue information to connected clients.
Start a threaded server to send queue information to connected clients.
Start a threaded server to send queue information to connected clients .
def local_message_server(q_main, port=0, close_port=False, server_secret=None, q_feedback=None):
    """Start a threaded server to send queue information to connected clients."""
    kwargs = {'q_main': q_main, 'port': port, 'close_port': close_port, 'server_secret': server_secret, 'q_feedback': q_feedback}
    server_thread = Thread(target=server, kwargs=(kwargs))
    server_thread.daemon = True
    server_thread.start()
    return server_thread
def local_message_server ( q_main , port = 0 , close_port = False , server_secret = None , q_feedback = None ) : kwargs = { 'q_main' : q_main , 'port' : port , 'close_port' : close_port , 'server_secret' : server_secret , 'q_feedback' : q_feedback } server_thread = Thread ( target = server , kwargs = ( kwargs ) ) server_thread . daemon = True server_thread . start ( ) return server_thread