django / channels

Developer-friendly asynchrony for Django
https://channels.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.08k stars 800 forks source link

No option to send message immediately #2020

Closed AyrennC closed 1 year ago

AyrennC commented 1 year ago

No option to send message immediately. Immediately=True parameter was support in Channels 1.0 but no longer offers similar option for Channels 4.0

e.g. When I receive a message, my backend sends back three different messages at different times. However, they all arrive at once.

carltongibson commented 1 year ago

Channels was totally rearchitected for v2, and an immediate argument no longer makes sense, as all messages have to go via the channel layer. Delivery should be quite prompt, and at most once, but if you need stricter ordering you'll need to build that yourself.

carltongibson commented 1 year ago

Duplicate of #1284