I encountered a situation where an asynchronous 'require' was desired; here is a patch to allow require to yield: https://github.com/lua/lua/compare/master...daurnimator:yieldable-require