这是indexloc提供的服务,不要输入任何密码
Skip to content

Parallel Tasks #108

@mybigman

Description

@mybigman

Hopefully this project isnt dead as its quite nice.

With useParallelTask using your example.

const parallelTask = useParallelTask(taskA, taskB);

It appears I cant access the tasks by names which seems problematic as it means I have to check the order providing they go in and come out the same.

Would be nice if you can access them by name?

const tasksA = ref([])
const tasksB = ref([])
parallelTask.perform().then((data) => {
  tasksA.value = data[0] // data.taskA
  tasksB.value = data[1] // data.taskB
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions