INavigationArrived<TInput> interface

Namespace Runic.Navigation in Runic.Navigation 0.23.0

public interface INavigationArrived<in TInput> : INavigationInput<TInput>

Inherits or implements INavigationInput.

The arrival hook of an entry created with typed input (NavigationTarget.Create and the region methods that wrap it), called with that input instead of INavigationArrived. It follows the rules of INavigationArrived.

Type parameters

TInput

The input type.

Methods

OnArrivedAsync

ValueTask OnArrivedAsync(NavigationEntryContext entry, NavigationArrival arrival, TInput input, CancellationToken cancellationToken)

Runs after the entry became current and was presented.

Parameters

entry

The entry that became current.

arrival

The entry and the operation that made it current.

input

The target's input.

cancellationToken

Cancelled when the entry stops being current, retires, or the navigator closes.