Ask a question to get started
Enter to send•Shift+Enter new line
agrep( self, pattern: str, path: str | None = None, glob: str
Async version of grep.
grep
Wraps the sync call with an async timeout as a safety net. The timeout bounds how long the caller waits; it does not stop the worker thread created by asyncio.to_thread.
asyncio.to_thread