API Reference

FunctionCallIndexclass

Represents one tracked function call identity (context + function name + arguments id).

Overview

Defines contracts and implementations for function-call identities (context + function name + arguments) used by call-result caching.

Lifecycle

This class exposes dispose(). Always call dispose() when you are finished using an instance, to release resources and prevent memory leaks.

Import

import { FunctionCallIndex } from '@rs-x/core';

Example

import { FunctionCallIndex } from '@rs-x/core';

const instance = new FunctionCallIndex(...args);

Members

2 members in this class.

constructor
constructorpublic
constructor(
  public readonly context: unknown,
  public readonly functionName: string,
  private readonly _sequenceWithId: ISequenceWithId,
  private readonly _owner: IDisposableOwner
)

Parameters

Name
Type
Required
context
unknown
required
functionName
string
required
_sequenceWithId
ISequenceWithId
required
_owner
IDisposableOwner
required
dispose
methodpublic
public dispose(): void

Parameters

No parameters.

Returns

void