def configure(host, port, recorder=None):
    if recorder:
        _context_mod._recorder_function = recorder
    elif host and port:
        network.init(host, port)
        _context_mod._recorder_function = network.send
    else:
        log.info("Empty blueox configuration")
        _context_mod._recorder_function = None
Progress iterator. Prints a mill while iterating over the items.
dataset/ETHPy150Open rhettg/BlueOx/blueox/__init__.py/configure--crossover with--dataset/ETHPy150Open kennethreitz/clint/clint/textui/progress.py/mill