Skip to main content

run

Run a task with the given parameters

@syncify
async def run(task: TaskTemplate[P, R, F], *args: P.args, **kwargs: P.kwargs) -> Run: ...

Run a task with the given parameters

Parameters​

NameTypeDescription
taskTaskTemplate[P, R, F]task to run
argsP.argsargs to pass to the task
kwargsP.kwargskwargs to pass to the task

Returns​

TypeDescription
RunRun | Result of the task