Hi I try the following code but it doesnt stop the emulator from cancelling my tasks
the task still tries to execute even though I deleted it
const [tasks] = await cloudTasksClient.listTasks({
parent: queueName,
});
await Promise.all(
tasks.map((task) =>
cloudTasksClient.deleteTask({
name: task.name,
})
)
);