taskiq
taskiq copied to clipboard
Synchronous kiq?
Hello! The README of the project says:
But taskiq can send and run both the sync and async functions
I can see some docs about running sync functions as tasks (here), but does that also mean I can "dispatch" a task from a sync function? Or do I always have to wrap .kiq with something like anyio.from_thread.run or anyio.run? Does taskiq has this built-in? 🤔