Uneventful
    Preparing search index...
    • Create the Work of a new task, optionally starting activities in it

      starting(a1, a2, ...) is roughly equivalent to start(work => work.exec(a1).exec(a2)...), except that the work is returned instead of the task.

      Type Parameters

      • T = never

      Parameters

      • ...activities: Activity<T>[]

        Zero or more activities for the new task's Work to .exec(). The first one to complete the task (via return/throw) will determine the overall task result; all others will be canceled.

        If any of the startables synchronously completes (or throws a synchronous error) during the initial setup, the remaining startables will not be run. As with start(), a synchronous error also cancels the partially-initialized task.

      Returns Work<T>

      A Work context you can customize to set up its .task() or .future() with.