IMockerBlazorTestHelpers<(Of <(<'T>)>)>..::..WaitForState Method

Waits for state.

Namespace:  FastMoq.Web.Blazor.Interfaces
Assembly:  FastMoq.Web (in FastMoq.Web.dll)

Syntax


IMockerBlazorTestHelpers<T> WaitForState(
	Func<bool> waitFunc,
	Nullable<TimeSpan> waitTimeout
)
Function WaitForState ( _
	waitFunc As Func(Of Boolean), _
	waitTimeout As Nullable(Of TimeSpan) _
) As IMockerBlazorTestHelpers(Of T)
IMockerBlazorTestHelpers<T>^ WaitForState(
	Func<bool^>^ waitFunc, 
	Nullable<TimeSpan^> waitTimeout
)

Parameters

waitFunc
Type: Func<(Of <(<'Boolean>)>)>
The wait function.
waitTimeout
Type: Nullable<(Of <(<'TimeSpan>)>)>
The wait timeout.

Return Value

true if XXXX, false otherwise.