Module / v1.0.0-beta.7

@typed/router/RouteExecutor

6 unique exports available through this public import path, including their members and aliases.

import * as RouteExecutor from "@typed/router/RouteExecutor";

Candidate execution

  • RouteExecutor

    interface

    Transitions between decoded route candidates while retaining compatible mounted work.

  • RouteTransition

    interface

    The path, raw input, candidate list, and ambient Layers for one route update.

  • makeRouteExecutor

    function

    Creates a scoped executor for route candidate decoding and selection.

Selection errors

  • RouteDecodeError

    class

    Reports route registration or parameter/query decoding failure.

  • RouteGuardError

    class

    Reports that every decoded candidate’s guard failed or returned None.

  • RouteNotFound

    class

    Reports that path lookup produced no registered candidate.