Buffer channels when there are no consumers

When a channel has no consumers, can I get django to buffer all the messages sent on the channel instead, then after a consumer subscribes can I get it to send all the buffered messages again (to that consumer)?

I think I can do it manually with very ugly solutions, involving four global variables and bespoke consumers, but does django provide an easier way to do it?

Back to Top