{
  "id": "@typed/fx#RefChunk.takeRight",
  "canonicalId": "@typed/fx/RefChunk#takeRight",
  "symbol": {
    "id": "@typed/fx#RefChunk.takeRight",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefChunk.takeRight",
    "kind": "constant",
    "signatures": [
      "export declare const takeRight: {\n    (n: number): <A, E, R>(ref: RefChunk<A, E, R>) => Effect.Effect<Chunk.Chunk<A>, E, R>;\n    <A, E, R>(ref: RefChunk<A, E, R>, n: number): Effect.Effect<Chunk.Chunk<A>, E, R>;\n};"
    ],
    "summary": "Take the last `n` values from a RefChunk.",
    "sections": {
      "Why": "Applies take right to the committed chunk value and publishes only the result, preserving its\nelement order and equality rules.",
      "Ownership and lifetime": "Running take right performs one serialized chunk transition and resolves with its committed\nvalue. It acquires no resource; failures and services remain those of the source ref."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefChunk.ts",
      "line": 268
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefChunk.takeRight",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefChunk",
    "qualifiedName": "RefChunk.takeRight",
    "declarationKey": "declaration:93ecbae5f3b23f93b0f4564b",
    "family": "variable",
    "signatures": [
      "export declare const takeRight: {\n    (n: number): <A, E, R>(ref: RefChunk<A, E, R>) => Effect.Effect<Chunk.Chunk<A>, E, R>;\n    <A, E, R>(ref: RefChunk<A, E, R>, n: number): Effect.Effect<Chunk.Chunk<A>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefChunk.ts",
        "start": {
          "line": 268,
          "column": 14
        },
        "end": {
          "line": 273,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefChunk.ts",
        "start": {
          "line": 269,
          "column": 3
        },
        "end": {
          "line": 269,
          "column": 89
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefChunk.ts",
        "start": {
          "line": 270,
          "column": 3
        },
        "end": {
          "line": 270,
          "column": 85
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefChunk#takeRight"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefChunk",
    "static": false,
    "importedFrom": "declaration:93ecbae5f3b23f93b0f4564b"
  },
  "declaration": {
    "declarationKey": "declaration:93ecbae5f3b23f93b0f4564b",
    "name": "takeRight",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const takeRight: {\n    (n: number): <A, E, R>(ref: RefChunk<A, E, R>) => Effect.Effect<Chunk.Chunk<A>, E, R>;\n    <A, E, R>(ref: RefChunk<A, E, R>, n: number): Effect.Effect<Chunk.Chunk<A>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefChunk.ts",
            "start": {
              "line": 268,
              "column": 14
            },
            "end": {
              "line": 273,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "(n: number): <A, E, R>(ref: RefChunk<A, E, R>) => Effect.Effect<Chunk.Chunk<A>, E, R>;",
          "<A, E, R>(ref: RefChunk<A, E, R>, n: number): Effect.Effect<Chunk.Chunk<A>, E, R>;"
        ],
        "typeParameters": [
          "A",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefChunk.ts",
            "start": {
              "line": 269,
              "column": 3
            },
            "end": {
              "line": 269,
              "column": 89
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefChunk.ts",
            "start": {
              "line": 270,
              "column": 3
            },
            "end": {
              "line": 270,
              "column": 85
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const takeRight: {\n    (n: number): <A, E, R>(ref: RefChunk<A, E, R>) => Effect.Effect<Chunk.Chunk<A>, E, R>;\n    <A, E, R>(ref: RefChunk<A, E, R>, n: number): Effect.Effect<Chunk.Chunk<A>, E, R>;\n};"
    ],
    "typeParameters": [
      "A",
      "E",
      "R"
    ],
    "summary": "Take the last `n` values from a RefChunk.",
    "sections": {
      "Why": "Applies take right to the committed chunk value and publishes only the result, preserving its\nelement order and equality rules.",
      "Ownership and lifetime": "Running take right performs one serialized chunk transition and resolves with its committed\nvalue. It acquires no resource; failures and services remain those of the source ref."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefChunk.ts",
        "start": {
          "line": 268,
          "column": 14
        },
        "end": {
          "line": 273,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefChunk.ts",
        "start": {
          "line": 269,
          "column": 3
        },
        "end": {
          "line": 269,
          "column": 89
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefChunk.ts",
        "start": {
          "line": 270,
          "column": 3
        },
        "end": {
          "line": 270,
          "column": 85
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
