79434598

Date: 2025-02-12 22:15:24
Score: 1.5
Natty:
Report link

Yes that would do as it can avoid thread conflicts, but make sure to check on what could block the event loop, callback might block the asyncio event loop. Unhandled exceptions in callback might also terminate your subscription. Also, be cautious about sharing state between callback and other parts of your application for thread safety.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: marky