Class RouteBlockerState
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Observable state for an individual navigation Blocker.
public sealed class RouteBlockerState
- Inheritance
-
objectRouteBlockerState
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.
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.