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 /requirements | |
| 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 'requirements')
| -rw-r--r-- | requirements/tests.in | 1 | ||||
| -rw-r--r-- | requirements/tests.txt | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/requirements/tests.in b/requirements/tests.in index e079f8a..ee4ba01 100644 --- a/requirements/tests.in +++ b/requirements/tests.in @@ -1 +1,2 @@ pytest +pytest-asyncio diff --git a/requirements/tests.txt b/requirements/tests.txt index e53d95b..edcf4fb 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -1,4 +1,4 @@ -# SHA1:0eaa389e1fdb3a1917c0f987514bd561be5718ee +# SHA1:738f1ea95febe383951f6eb64bdad13fefc1a97a # # This file is autogenerated by pip-compile-multi # To update, run: @@ -20,10 +20,16 @@ packaging==23.0 pluggy==1.0.0 # via pytest pytest==7.2.1 + # via + # -r requirements/tests.in + # pytest-asyncio +pytest-asyncio==0.20.3 # via -r requirements/tests.in tomli==2.0.1 # via pytest typing-extensions==4.4.0 - # via importlib-metadata + # via + # importlib-metadata + # pytest-asyncio zipp==3.11.0 # via importlib-metadata |
