{
  "id": "@typed/fx#Sink.Sink.Class",
  "canonicalId": "@typed/fx/Sink#Sink.Class",
  "symbol": {
    "id": "@typed/fx#Sink.Sink.Class",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "Sink.Sink.Class",
    "kind": "interface",
    "signatures": [
      "interface Class<Self, Id extends string, A, E> extends Service<Self, Id, A, E> {\n    new (): Service<Self, Id, A, E>;\n}"
    ],
    "summary": "Constructor-shaped Context service returned by `Sink.Service`.",
    "sections": {
      "Why": "A class-shaped tag supports standard Effect service declaration syntax while exposing the Sink\ncallbacks directly as static operations.",
      "Ownership and lifetime": "Constructing the class returns its service tag; the providing Layer owns the concrete sink.",
      "Construct signatures": "Returns the service tag rather than allocating a separate sink instance.",
      "Construct signatures: Why": "This supports Effect's class declaration syntax while keeping one service identity.",
      "Construct signatures: Ownership and lifetime": "Construction allocates no consumer resources; the provided Layer owns the concrete sink."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import * as Sink from \"@typed/fx/Sink\"\nclass Numbers extends Sink.Service<Numbers, number>()(\"Numbers\") {}"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Sink/Sink.ts",
      "line": 222
    },
    "since": "1.0.0",
    "category": "Sink services"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#Sink.Sink.Class",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "Sink",
    "qualifiedName": "Sink.Sink.Class",
    "declarationKey": "declaration:e70b98b5e61947602f3e0ad6",
    "family": "interface",
    "signatures": [
      "interface Class<Self, Id extends string, A, E> extends Service<Self, Id, A, E> {\n    new (): Service<Self, Id, A, E>;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Sink/Sink.ts",
        "start": {
          "line": 222,
          "column": 3
        },
        "end": {
          "line": 237,
          "column": 4
        }
      },
      {
        "file": "packages/fx/src/Sink/Sink.ts",
        "start": {
          "line": 236,
          "column": 5
        },
        "end": {
          "line": 236,
          "column": 37
        }
      }
    ],
    "aliases": [
      "@typed/fx/Sink#Sink.Class"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#Sink.Sink",
    "static": false,
    "importedFrom": "declaration:e70b98b5e61947602f3e0ad6"
  },
  "declaration": {
    "declarationKey": "declaration:e70b98b5e61947602f3e0ad6",
    "name": "Class",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "interface Class<Self, Id extends string, A, E> extends Service<Self, Id, A, E> {\n    new (): Service<Self, Id, A, E>;\n}"
        ],
        "typeParameters": [
          "Self",
          "Id extends string",
          "A",
          "E"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Sink/Sink.ts",
            "start": {
              "line": 222,
              "column": 3
            },
            "end": {
              "line": 237,
              "column": 4
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "construct-signature",
        "syntaxKind": "ConstructSignature",
        "signatures": [
          "new (): Service<Self, Id, A, E>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Sink/Sink.ts",
            "start": {
              "line": 236,
              "column": 5
            },
            "end": {
              "line": 236,
              "column": 37
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "interface Class<Self, Id extends string, A, E> extends Service<Self, Id, A, E> {\n    new (): Service<Self, Id, A, E>;\n}"
    ],
    "typeParameters": [
      "Self",
      "Id extends string",
      "A",
      "E"
    ],
    "summary": "Constructor-shaped Context service returned by `Sink.Service`.",
    "sections": {
      "Why": "A class-shaped tag supports standard Effect service declaration syntax while exposing the Sink\ncallbacks directly as static operations.",
      "Ownership and lifetime": "Constructing the class returns its service tag; the providing Layer owns the concrete sink.",
      "Construct signatures": "Returns the service tag rather than allocating a separate sink instance.",
      "Construct signatures: Why": "This supports Effect's class declaration syntax while keeping one service identity.",
      "Construct signatures: Ownership and lifetime": "Construction allocates no consumer resources; the provided Layer owns the concrete sink."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import * as Sink from \"@typed/fx/Sink\"\nclass Numbers extends Sink.Service<Numbers, number>()(\"Numbers\") {}"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Sink/Sink.ts",
        "start": {
          "line": 222,
          "column": 3
        },
        "end": {
          "line": 237,
          "column": 4
        }
      },
      {
        "file": "packages/fx/src/Sink/Sink.ts",
        "start": {
          "line": 236,
          "column": 5
        },
        "end": {
          "line": 236,
          "column": 37
        }
      }
    ],
    "since": "1.0.0",
    "category": "Sink services"
  }
}
