Header menu logo Nao

FallbackStrategy Type

Fallback strategy when primary execution fails

Union cases

Union case Description

Alternative execute

Full Usage: Alternative execute

Parameters:
    execute : string -> Task<string>

Try an alternative provider/agent

execute : string -> Task<string>

Cached

Full Usage: Cached

Return cached result if available

DefaultValue string

Full Usage: DefaultValue string

Parameters:
    Item : string

Return a default value

Item : string

None

Full Usage: None

No fallback — propagate the error

Instance members

Instance member Description

this.IsAlternative

Full Usage: this.IsAlternative

Returns: bool
Returns: bool

this.IsCached

Full Usage: this.IsCached

Returns: bool
Returns: bool

this.IsDefaultValue

Full Usage: this.IsDefaultValue

Returns: bool
Returns: bool

this.IsNone

Full Usage: this.IsNone

Returns: bool
Returns: bool

Type something to start searching.