6 ms·
That's right although you could take a synchronous function and wrap it with sync_to_async() and it would work. But I'm not sure about the performance implicati
by drpancake 4y ago
That's right although you could take a synchronous function and wrap it with sync_to_async() and it would work. But I'm not sure about the performance implications of that.
https://docs.djangoproject.com/en/4.1/topics/async/#asgiref.sync.sync_to_async https://docs.djangoproject.com/en/4.1/topics/async/#asgiref....