Module genshin.utility.concurrency

Utilities for concurrency optimizations.

Functions

def prevent_concurrency(func: CallableT) ‑> ~CallableT

Prevent function from running concurrently.

This should be done exclusively for functions that cache their result.