{
  "id": "@typed/navigation#NavigationHandler",
  "canonicalId": "@typed/navigation#NavigationHandler",
  "symbol": {
    "id": "@typed/navigation#NavigationHandler",
    "packageName": "@typed/navigation",
    "moduleName": ".",
    "exportName": "NavigationHandler",
    "kind": "type",
    "signatures": [
      "export type NavigationHandler<R, R2> = (event: NavigationEvent) => Effect.Effect<Option.Option<Effect.Effect<unknown, never, R2>>, never, R>;"
    ],
    "summary": "Selects optional post-commit work for a committed navigation event.",
    "sections": {
      "Why": "Applications can update route-dependent state after history and `currentEntry` agree without\nmaking every subscriber run for every event.",
      "Ownership and lifetime": "Registration captures the handler's Effect context and is owned by its Scope. Selected follow-up\neffects run after commit and do not alter the already committed destination."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/navigation/src/Navigation.ts",
      "line": 535
    },
    "since": "1.0.0",
    "category": "Navigation hooks"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/navigation#NavigationHandler",
    "packageName": "@typed/navigation",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/navigation",
    "exportName": "NavigationHandler",
    "qualifiedName": "NavigationHandler",
    "declarationKey": "declaration:536153ece0a5ccd68582d08a",
    "family": "type-alias",
    "signatures": [
      "export type NavigationHandler<R, R2> = (event: NavigationEvent) => Effect.Effect<Option.Option<Effect.Effect<unknown, never, R2>>, never, R>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/navigation/src/Navigation.ts",
        "start": {
          "line": 535,
          "column": 1
        },
        "end": {
          "line": 537,
          "column": 80
        }
      }
    ],
    "aliases": [
      "@typed/navigation/Navigation#NavigationHandler"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:536153ece0a5ccd68582d08a",
    "name": "NavigationHandler",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type NavigationHandler<R, R2> = (event: NavigationEvent) => Effect.Effect<Option.Option<Effect.Effect<unknown, never, R2>>, never, R>;"
        ],
        "typeParameters": [
          "R",
          "R2"
        ],
        "sourceSpans": [
          {
            "file": "packages/navigation/src/Navigation.ts",
            "start": {
              "line": 535,
              "column": 1
            },
            "end": {
              "line": 537,
              "column": 80
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export type NavigationHandler<R, R2> = (event: NavigationEvent) => Effect.Effect<Option.Option<Effect.Effect<unknown, never, R2>>, never, R>;"
    ],
    "typeParameters": [
      "R",
      "R2"
    ],
    "summary": "Selects optional post-commit work for a committed navigation event.",
    "sections": {
      "Why": "Applications can update route-dependent state after history and `currentEntry` agree without\nmaking every subscriber run for every event.",
      "Ownership and lifetime": "Registration captures the handler's Effect context and is owned by its Scope. Selected follow-up\neffects run after commit and do not alter the already committed destination."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/navigation/src/Navigation.ts",
        "start": {
          "line": 535,
          "column": 1
        },
        "end": {
          "line": 537,
          "column": 80
        }
      }
    ],
    "since": "1.0.0",
    "category": "Navigation hooks"
  }
}
