def wait(timeout=None):
    request = Application.current_app.request
    top, request._unhandled = _WaitList(request._unhandled), []

    top.timeout = timeout
    return top
simple checker for scans input
dataset/ETHPy150Open ecdavis/pants/pants/web/asynchronous.py/wait--crossover with--dataset/ETHPy150Open xraypy/xraylarch/plugins/io/specfiledata.py/_checkScans