Is is possible to start a function like this
async def foo():
No, you have to 'start' a coroutine by throwing into the async loop.
You can do that in two ways (without using
So the answer to your question is no. Also as a side note, for anything to happen at all you have to start the loop. with either
Hopes this helps.