Table of Contents

Method WhenAll

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

WhenAll(params Task[])

Waits until all the specified tasks have completed.

public static Task WhenAll(params Task[] tasks)

Parameters

tasks Task[]

The tasks to wait on for completion.

Returns

Task

WhenAll(IEnumerable<Task>)

Waits until all the specified tasks have completed.

public static Task WhenAll(IEnumerable<Task> tasks)

Parameters

tasks IEnumerable<Task>

The tasks to wait on for completion.

Returns

Task

WhenAll<TResult>(params Task<TResult>[])

Waits until all the specified tasks have completed.

public static Task<TResult[]> WhenAll<TResult>(params Task<TResult>[] tasks)

Parameters

tasks Task<TResult>[]

The tasks to wait on for completion.

Returns

Task<TResult[]>

Type Parameters

TResult

WhenAll<TResult>(IEnumerable<Task<TResult>>)

Waits until all the specified tasks have completed.

public static Task<TResult[]> WhenAll<TResult>(IEnumerable<Task<TResult>> tasks)

Parameters

tasks IEnumerable<Task<TResult>>

The tasks to wait on for completion.

Returns

Task<TResult[]>

Type Parameters

TResult