def triggerAfter(f, timeout):
    def threadFun():
        time.sleep(timeout)
        f()
    threading.Thread(target = threadFun).start()
call 'f' after timeout seconds
dataset/ETHPy150Open ufora/ufora/ufora/FORA/Core/ExecutionContext_test.py/triggerAfter