{
  "id": "@typed/fx#Versioned.filterMapEffect",
  "canonicalId": "@typed/fx/Versioned#filterMapEffect",
  "symbol": {
    "id": "@typed/fx#Versioned.filterMapEffect",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "Versioned.filterMapEffect",
    "kind": "constant",
    "signatures": [
      "export declare const filterMapEffect: {\n    <A, C, E3, R3, B, D, E4, R4>(options: {\n        onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;\n        onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;\n    }): <R0, E0, R, E, R2, E2>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>) => Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;\n    <R0, E0, A, E, R, B, E2, R2, C, E3, R3, D, E4, R4>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>, options: {\n        onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;\n        onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;\n    }): Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;\n};"
    ],
    "summary": "Filter-maps a Versioned's output as both an Fx and Effect using an Effect; the Effect value becomes `Option`.",
    "sections": {
      "Why": "Adds Effectful filtering independently to the push and current-read channels while preserving\ntheir separate error and service types.",
      "Ownership and lifetime": "No subscription starts during transformation. Callback effects run when their push or read\nchannel is consumed and are interrupted with that consumer."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Versioned/Versioned.ts",
      "line": 678
    },
    "since": "1.18.0",
    "category": "Optional channel transformations"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#Versioned.filterMapEffect",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "Versioned",
    "qualifiedName": "Versioned.filterMapEffect",
    "declarationKey": "declaration:3fc7d556fd1365f860dd6464",
    "family": "variable",
    "signatures": [
      "export declare const filterMapEffect: {\n    <A, C, E3, R3, B, D, E4, R4>(options: {\n        onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;\n        onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;\n    }): <R0, E0, R, E, R2, E2>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>) => Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;\n    <R0, E0, A, E, R, B, E2, R2, C, E3, R3, D, E4, R4>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>, options: {\n        onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;\n        onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;\n    }): Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Versioned/Versioned.ts",
        "start": {
          "line": 678,
          "column": 14
        },
        "end": {
          "line": 708,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/Versioned/Versioned.ts",
        "start": {
          "line": 679,
          "column": 3
        },
        "end": {
          "line": 684,
          "column": 97
        }
      },
      {
        "file": "packages/fx/src/Versioned/Versioned.ts",
        "start": {
          "line": 686,
          "column": 3
        },
        "end": {
          "line": 692,
          "column": 95
        }
      }
    ],
    "aliases": [
      "@typed/fx/Versioned#filterMapEffect"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#Versioned",
    "static": false,
    "importedFrom": "declaration:3fc7d556fd1365f860dd6464"
  },
  "declaration": {
    "declarationKey": "declaration:3fc7d556fd1365f860dd6464",
    "name": "filterMapEffect",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const filterMapEffect: {\n    <A, C, E3, R3, B, D, E4, R4>(options: {\n        onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;\n        onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;\n    }): <R0, E0, R, E, R2, E2>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>) => Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;\n    <R0, E0, A, E, R, B, E2, R2, C, E3, R3, D, E4, R4>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>, options: {\n        onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;\n        onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;\n    }): Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Versioned/Versioned.ts",
            "start": {
              "line": 678,
              "column": 14
            },
            "end": {
              "line": 708,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<A, C, E3, R3, B, D, E4, R4>(options: {\n    onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;\n    onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;\n}): <R0, E0, R, E, R2, E2>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>) => Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;",
          "<R0, E0, A, E, R, B, E2, R2, C, E3, R3, D, E4, R4>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>, options: {\n    onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;\n    onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;\n}): Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;"
        ],
        "typeParameters": [
          "A",
          "C",
          "E3",
          "R3",
          "B",
          "D",
          "E4",
          "R4",
          "R0",
          "E0",
          "E",
          "R",
          "E2",
          "R2"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Versioned/Versioned.ts",
            "start": {
              "line": 679,
              "column": 3
            },
            "end": {
              "line": 684,
              "column": 97
            }
          },
          {
            "file": "packages/fx/src/Versioned/Versioned.ts",
            "start": {
              "line": 686,
              "column": 3
            },
            "end": {
              "line": 692,
              "column": 95
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const filterMapEffect: {\n    <A, C, E3, R3, B, D, E4, R4>(options: {\n        onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;\n        onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;\n    }): <R0, E0, R, E, R2, E2>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>) => Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;\n    <R0, E0, A, E, R, B, E2, R2, C, E3, R3, D, E4, R4>(versioned: Versioned<R0, E0, A, E, R, B, E2, R2>, options: {\n        onFx: (a: A) => Effect.Effect<Option.Option<C>, E3, R3>;\n        onEffect: (b: B) => Effect.Effect<Option.Option<D>, E4, R4>;\n    }): Versioned<never, never, C, E | E3, R | R3, Option.Option<D>, E0 | E2 | E4, R0 | R2 | R4>;\n};"
    ],
    "typeParameters": [
      "A",
      "C",
      "E3",
      "R3",
      "B",
      "D",
      "E4",
      "R4",
      "R0",
      "E0",
      "E",
      "R",
      "E2",
      "R2"
    ],
    "summary": "Filter-maps a Versioned's output as both an Fx and Effect using an Effect; the Effect value becomes `Option`.",
    "sections": {
      "Why": "Adds Effectful filtering independently to the push and current-read channels while preserving\ntheir separate error and service types.",
      "Ownership and lifetime": "No subscription starts during transformation. Callback effects run when their push or read\nchannel is consumed and are interrupted with that consumer."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Versioned/Versioned.ts",
        "start": {
          "line": 678,
          "column": 14
        },
        "end": {
          "line": 708,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/Versioned/Versioned.ts",
        "start": {
          "line": 679,
          "column": 3
        },
        "end": {
          "line": 684,
          "column": 97
        }
      },
      {
        "file": "packages/fx/src/Versioned/Versioned.ts",
        "start": {
          "line": 686,
          "column": 3
        },
        "end": {
          "line": 692,
          "column": 95
        }
      }
    ],
    "since": "1.18.0",
    "category": "Optional channel transformations"
  }
}
