MCPcopy Create free account
hub / github.com/solidjs/solid-router / willAddRoute

Method willAddRoute

src/recognizer/index.ts:15–15  ·  view source on GitHub ↗
(context: THandler | undefined, route: THandler)

Source from the content-addressed store, hash-verified

13interface Delegate<THandler> {
14 contextEntered?(context: THandler, route: MatchDSL<THandler>): void;
15 willAddRoute?(context: THandler | undefined, route: THandler): THandler;
16}
17
18export interface Route<THandler> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected