Class Transition


A Transition is a thennable (a Promise-like object) that represents an attempt to transition to another route. It can be aborted, either explicitly via abort or by attempting another transition while a previous one is still underway. An aborted transition can also be retry()d later.

A Transition is not user-constructible; the only legal way to get one is in a Route hook or a RouterService.on() callback. However, you can import the type by using import type syntax with TypeScript or import() in JSDoc comments.