{
  "id": "@typed/fx#Fx.FlatMapEffectLike",
  "canonicalId": "@typed/fx/Fx#FlatMapEffectLike",
  "symbol": {
    "id": "@typed/fx#Fx.FlatMapEffectLike",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "Fx.FlatMapEffectLike",
    "kind": "type",
    "signatures": [
      "export type FlatMapEffectLike<Args extends ReadonlyArray<any> = [\n]> = {\n    <A, B, E2, R2>(f: (a: A) => Effect.Effect<B, E2, R2>, ...args: Args): <E, R>(self: Fx<A, E, R>) => Fx<B, E | E2, R | R2 | Scope.Scope>;\n    <A, E, R, B, E2, R2>(self: Fx<A, E, R>, f: (a: A) => Effect.Effect<B, E2, R2>, ...args: Args): Fx<B, E | E2, R | R2 | Scope.Scope>;\n};"
    ],
    "summary": "Describes a dual flattening operator whose callback returns an Effect.",
    "sections": {
      "Why": "The shared type gives Effect-producing merge, concat, switch, and exhaust\noperators the same data-first and data-last surface while retaining callback\nerrors and services in the returned Fx.",
      "Ownership and lifetime": "The type acquires no resources. Implementations adapt each Effect to a\none-value Fx whose execution is owned by the returned Fx's required `Scope`."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Fx/combinators/flatMapEffect.ts",
      "line": 25
    },
    "since": "1.0.0",
    "category": "Type contracts"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#Fx.FlatMapEffectLike",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "Fx",
    "qualifiedName": "Fx.FlatMapEffectLike",
    "declarationKey": "declaration:e99b591602aa3b44bb0f0820",
    "family": "type-alias",
    "signatures": [
      "export type FlatMapEffectLike<Args extends ReadonlyArray<any> = [\n]> = {\n    <A, B, E2, R2>(f: (a: A) => Effect.Effect<B, E2, R2>, ...args: Args): <E, R>(self: Fx<A, E, R>) => Fx<B, E | E2, R | R2 | Scope.Scope>;\n    <A, E, R, B, E2, R2>(self: Fx<A, E, R>, f: (a: A) => Effect.Effect<B, E2, R2>, ...args: Args): Fx<B, E | E2, R | R2 | Scope.Scope>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/flatMapEffect.ts",
        "start": {
          "line": 25,
          "column": 1
        },
        "end": {
          "line": 36,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/flatMapEffect.ts",
        "start": {
          "line": 26,
          "column": 3
        },
        "end": {
          "line": 29,
          "column": 71
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/flatMapEffect.ts",
        "start": {
          "line": 31,
          "column": 3
        },
        "end": {
          "line": 35,
          "column": 42
        }
      }
    ],
    "aliases": [
      "@typed/fx/Fx#FlatMapEffectLike"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#Fx",
    "static": false,
    "importedFrom": "declaration:e99b591602aa3b44bb0f0820"
  },
  "declaration": {
    "declarationKey": "declaration:e99b591602aa3b44bb0f0820",
    "name": "FlatMapEffectLike",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type FlatMapEffectLike<Args extends ReadonlyArray<any> = [\n]> = {\n    <A, B, E2, R2>(f: (a: A) => Effect.Effect<B, E2, R2>, ...args: Args): <E, R>(self: Fx<A, E, R>) => Fx<B, E | E2, R | R2 | Scope.Scope>;\n    <A, E, R, B, E2, R2>(self: Fx<A, E, R>, f: (a: A) => Effect.Effect<B, E2, R2>, ...args: Args): Fx<B, E | E2, R | R2 | Scope.Scope>;\n};"
        ],
        "typeParameters": [
          "Args extends ReadonlyArray<any> = []"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/combinators/flatMapEffect.ts",
            "start": {
              "line": 25,
              "column": 1
            },
            "end": {
              "line": 36,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<A, B, E2, R2>(f: (a: A) => Effect.Effect<B, E2, R2>, ...args: Args): <E, R>(self: Fx<A, E, R>) => Fx<B, E | E2, R | R2 | Scope.Scope>;",
          "<A, E, R, B, E2, R2>(self: Fx<A, E, R>, f: (a: A) => Effect.Effect<B, E2, R2>, ...args: Args): Fx<B, E | E2, R | R2 | Scope.Scope>;"
        ],
        "typeParameters": [
          "A",
          "B",
          "E2",
          "R2",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/combinators/flatMapEffect.ts",
            "start": {
              "line": 26,
              "column": 3
            },
            "end": {
              "line": 29,
              "column": 71
            }
          },
          {
            "file": "packages/fx/src/Fx/combinators/flatMapEffect.ts",
            "start": {
              "line": 31,
              "column": 3
            },
            "end": {
              "line": 35,
              "column": 42
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export type FlatMapEffectLike<Args extends ReadonlyArray<any> = [\n]> = {\n    <A, B, E2, R2>(f: (a: A) => Effect.Effect<B, E2, R2>, ...args: Args): <E, R>(self: Fx<A, E, R>) => Fx<B, E | E2, R | R2 | Scope.Scope>;\n    <A, E, R, B, E2, R2>(self: Fx<A, E, R>, f: (a: A) => Effect.Effect<B, E2, R2>, ...args: Args): Fx<B, E | E2, R | R2 | Scope.Scope>;\n};"
    ],
    "typeParameters": [
      "Args extends ReadonlyArray<any> = []",
      "A",
      "B",
      "E2",
      "R2",
      "E",
      "R"
    ],
    "summary": "Describes a dual flattening operator whose callback returns an Effect.",
    "sections": {
      "Why": "The shared type gives Effect-producing merge, concat, switch, and exhaust\noperators the same data-first and data-last surface while retaining callback\nerrors and services in the returned Fx.",
      "Ownership and lifetime": "The type acquires no resources. Implementations adapt each Effect to a\none-value Fx whose execution is owned by the returned Fx's required `Scope`."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/flatMapEffect.ts",
        "start": {
          "line": 25,
          "column": 1
        },
        "end": {
          "line": 36,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/flatMapEffect.ts",
        "start": {
          "line": 26,
          "column": 3
        },
        "end": {
          "line": 29,
          "column": 71
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/flatMapEffect.ts",
        "start": {
          "line": 31,
          "column": 3
        },
        "end": {
          "line": 35,
          "column": 42
        }
      }
    ],
    "since": "1.0.0",
    "category": "Type contracts"
  }
}
