Closed Carreau closed 1 year ago
coroutine function
is the official term.
See inspect module iscoroutinefunction and iscoroutine.
Async-def function is ambiguous as it could also be an async-generator-function, which when called would be an async-generator
I mean those things have known, defined meaning, I don't see why we should use a different terminology here.
If you really insist we can change, but coroutine is really the instantiated object, so I'd like not to use it.
Thanks, "coroutine function" seems appropriate then.
I'm going to close and reopen to trigger CI.
The check release failure is unrelated, I'll fix it separately.
in the following
hello
is a coroutine function, andhello()
a coroutine. Fix the vocabulary and ensure that the function is properly used.