diff options
author | pgjones <philip.graham.jones@googlemail.com> | 2022-07-23 11:56:12 +0100 |
---|---|---|
committer | Phil Jones <philip.graham.jones@googlemail.com> | 2023-01-24 20:19:57 +0000 |
commit | 5ed9c956aaf68a8e2defa9722109aa2c7bcf7ae1 (patch) | |
tree | f103622c530a5a4fa121319e4b35d040ebcf80dc /pyproject.toml | |
parent | 0d4ca6e72c155e30aedd4315e8678ee9cada32b4 (diff) | |
download | blinker-5ed9c956aaf68a8e2defa9722109aa2c7bcf7ae1.tar.gz |
Add a send_async method to the Signal
This allows for signals to send to coroutine receivers by awaiting
them. The _async_wrapper and _sync_wrapper allows for conversion of
sync and async receivers as required if defined. If not defined a
runtime error is raised.
The wrappers are used to avoid any direct tie into asyncio, trio,
greenbacks, asgiref, or other specific async implementation.
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index 98a0b20..65e5e5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,5 +44,6 @@ include-package-data = false version = {attr = "blinker.__version__"} [tool.pytest.ini_options] +asyncio_mode = "auto" testpaths = ["tests"] filterwarnings = ["error"] |