mirror of
https://github.com/django/daphne.git
synced 2025-07-14 01:42:17 +03:00
ASGI draft todo tweak
This commit is contained in:
parent
daa8d1aca1
commit
3cf5e6149e
|
@ -82,7 +82,8 @@ specific in-process async solution, such as ``asyncio``, ``twisted``, or
|
||||||
returns ``None`` or a ``(channel, message)`` tuple immediately. This approach
|
returns ``None`` or a ``(channel, message)`` tuple immediately. This approach
|
||||||
should work with either synchronous or asynchronous code; part of the design
|
should work with either synchronous or asynchronous code; part of the design
|
||||||
of ASGI is to allow developers to still write synchronous code where possible,
|
of ASGI is to allow developers to still write synchronous code where possible,
|
||||||
as this makes for easier maintenance and less bugs, at the cost of performance.
|
as this generally makes for easier maintenance and less bugs,
|
||||||
|
but at the cost of performance.
|
||||||
|
|
||||||
The distinction between protocol servers and applications in this document
|
The distinction between protocol servers and applications in this document
|
||||||
is mostly to distinguish their roles and to make illustrating concepts easier.
|
is mostly to distinguish their roles and to make illustrating concepts easier.
|
||||||
|
@ -752,6 +753,9 @@ TODOs
|
||||||
|
|
||||||
* Be sure we want to leave HTTP ``get`` and ``post`` out.
|
* Be sure we want to leave HTTP ``get`` and ``post`` out.
|
||||||
|
|
||||||
|
* ``receive_many`` can't easily be implemented with async/cooperative code
|
||||||
|
behind it as it's nonblocking - possible alternative call type? Extension?
|
||||||
|
|
||||||
|
|
||||||
Copyright
|
Copyright
|
||||||
=========
|
=========
|
||||||
|
|
Loading…
Reference in New Issue
Block a user