Standardize async offloading behind shared executor helper
This commit is contained in:
@@ -19,7 +19,7 @@ Provides a :class:`Fail2BanConfigParser` class that wraps Python's
|
||||
comments inside multi-line values are stripped by :meth:`split_multiline`.
|
||||
|
||||
All methods are synchronous. Call from async contexts via
|
||||
:func:`asyncio.get_event_loop().run_in_executor`.
|
||||
:func:`app.utils.async_utils.run_blocking`.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
Reference in New Issue
Block a user