highfive/master.py
async def start_master(host="", port=48484, *, loop=None):
    """
    Starts a new HighFive master at the given host and port, and returns it.
    """

    loop = loop if loop is not None else asyncio.get_event_loop()

    manager = jobs.JobManager(loop=loop)
    workers = set()
    server = await loop.create_server(
            lambda: WorkerProtocol(manager, workers), host, port)
    return Master(server, manager, workers, loop=loop)
async def start_master(host="", port=48484, *, loop=None):
    """
    Starts a new HighFive master at the given host and port, and returns it.
    """

    loop = loop if loop is not None else asyncio.get_event_loop()

    manager = jobs.JobManager(loop=loop)
    workers = set()
    server = await loop.create_server(
            lambda: WorkerProtocol(manager, workers), host, port)
    return Master(server, manager, workers, loop=loop)
Starts a new HighFive master at the given host and port, and returns it.