UntilNotNullAsync(Func<T?>) Method

Definition

Assembly HeadlessTestingFramework.dll

Builds the WaitHelper and waits for a non-null result.

public Task<T> UntilNotNullAsync<T>(Func<T?> func)
    where T : class

Type parameters

T
The result type.

Parameters

func
Func<T>

The function to evaluate.

Returns

Task<T>
The non-null result.