You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
Seamus Smith edited this page Apr 29, 2022
·
3 revisions
ratatoskr.threadutil
threadpool_decorator(threads=None)
Threads: Max amount of threads within the thread pool. Defaults to the amount of threads the CPU has
Returns: A decorator that makes functions execute asynchronously within a threadpool
daemon(func)
Decorator function. This basically makes the given function spawn a daemon thread and execute asynchronously. The function should not return any value, as this decorator will make the function return None.