Please provide the following:
- SDK Version: 37
- Platforms(all):
Context
Want to use async function inside the task. Then I’m passing an async function into defineTask
as the second parameter, but now eslint
tells me the return value type of TaskManagerTaskExecutor
is void
, and not Promise<void>
.
Question
I can’t use any async function in TaskManagerTaskExecutor
? If we can, the type of TaskManagerTaskExecutor
should be void | Promise<void>
.