work/workmanager/src/main/java/androidx/work/WorkContinuation.java
public static @NonNull WorkContinuation combine(
            @NonNull OneTimeWorkRequest work,
            @NonNull WorkContinuation... continuations) {
        return combine(work, Arrays.asList(continuations));
    }
/**
     * Combines multiple {@link WorkContinuation}s to allow for complex chaining using the
     * {@link OneTimeWorkRequest} provided.
     *
     * @param work The {@link OneTimeWorkRequest} which depends on the successful completion of the
     *             provided {@link WorkContinuation}s
     * @param continuations Two or more {@link WorkContinuation}s that are prerequisites for the
     *                      {@link OneTimeWorkRequest} provided.
     * @return A {@link WorkContinuation} that allows further chaining
     */
Combines multiple  WorkContinuations to allow for complex chaining using the
OneTimeWorkRequest provided.

@param work The  OneTimeWorkRequest which depends on the successful completion of the
provided  WorkContinuations
@param continuations Two or more  WorkContinuations that are prerequisites for the
OneTimeWorkRequest provided.
@return A  WorkContinuation that allows further chaining
Combines multiple WorkContinuations to allow for complex chaining using the OneTimeWorkRequest provided . @param work The OneTimeWorkRequest which depends on the successful completion of the provided WorkContinuations @param continuations Two or more WorkContinuations that are prerequisites for the OneTimeWorkRequest provided . @return A WorkContinuation that allows further chaining
public static @NonNull WorkContinuation combine(
            @NonNull OneTimeWorkRequest work,
            @NonNull WorkContinuation... continuations) {
        return combine(work, Arrays.asList(continuations));
    }
public static @ NonNull WorkContinuation combine ( @ NonNull OneTimeWorkRequest work , @ NonNull WorkContinuation ... continuations ) { return combine ( work , Arrays . asList ( continuations ) ) ; }
Combines multiple {@link WorkContinuation}s to allow for complex chaining using the
 {@link OneTimeWorkRequest} provided.
Combines multiple { @link WorkContinuation } s to allow for complex chaining using the { @link OneTimeWorkRequest } provided .