Table of Contents

Class RouteBlockerState

Namespace
Velvet
Assembly
Velvet.Docs.dll

Observable state for an individual navigation Blocker.

public sealed class RouteBlockerState
Inheritance
object
RouteBlockerState

Properties

Attempt

The transition presented to this Blocker's predicate. Proceed() re-issues the caller's request instead, which can differ after a Guard redirect. null when Idle.

Status

Methods

Proceed()

Releases the block and re-issues the request the caller made — the whole navigation runs again, without consulting this Blocker — so a Guard that rewrote the destination rewrites it again, and a blocked Back or Forward lands on the slot that step resolves. Does nothing unless Status is Blocked.

Reset()

Releases the block and abandons the navigation this Blocker held, leaving the router where it is. Every Blocker is released with it — this one, the others still blocking, and the ones that had already proceeded alike. Does nothing unless Status is Blocked.