Table of Contents

Method GoBack

Namespace
Velvet
Assembly
Velvet.Docs.dll

GoBack(CancellationToken)

Moves one step back on the history stack. Returns Cancelled when CanGoBack is false.

public UniTask<NavigationResult> GoBack(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Token observed by Guards, Blockers, and Loaders to abort the navigation.

Returns

UniTask<NavigationResult>

The NavigationResult from the underlying NavigateAsync(string, NavigationMode, CancellationToken), or Cancelled when the history has no previous entry.