Interface HistoryTransaction

An intended history transaction.

If type is "unload" then the transaction cannot be handled asynchronously.

interface HistoryTransaction {
    location: Location;
    type: HistoryTransactionType;
    cancel(): void;
    proceed(): void;
}

Methods

Properties

Methods

  • Cancels navigation and prevents enqueued blockers invocation.

    Returns void

  • Proceeds with navigation to a location. If there are enqueued blockers, they are called.

    Returns void

Properties

location: Location

A location to which navigation is intended.

The transaction type.