Table of Contents

Class PredicateResult

Namespace
Polly
Assembly
Polly.Core.dll

Class that represents the results that can be used in predicates.

public static class PredicateResult
Inheritance
PredicateResult
Inherited Members

Methods

False()

Returns a finished ValueTask<TResult> that returns false value.

public static ValueTask<bool> False()

Returns

ValueTask<bool>

A new instance of finished ValueTask<TResult>.

True()

Returns a finished ValueTask<TResult> that returns true value.

public static ValueTask<bool> True()

Returns

ValueTask<bool>

A new instance of finished ValueTask<TResult>.