Overview
Array proxy factory and contracts that emit semantic index/mutation changes.
API Reference
Creates array proxies that emit index-scoped changes for array mutations.
import { ArrayProxyFactory } from '@rs-x/state-manager';import { ArrayProxyFactory } from '@rs-x/state-manager';
const instance = new ArrayProxyFactory(...args);5 members in this class.
constructor( @Inject(RsXCoreInjectionTokens.IProxyRegistry) private readonly _proxyRegistry: IProxyRegistry)Parameters
public override getId(data: IArrayProxyIdData): unknown[]Parameters
Returns
unknown[]
protected override createId(data: IArrayProxyIdData): unknown[]Parameters
Returns
unknown[]
protected override createInstance(
data: IArrayProxyData,
id: unknown[]
): IArrayObserverProxyPairParameters
Returns
protected override releaseInstance(
arrayObserverWithProxy: IArrayObserverProxyPair,
id: unknown[]
): voidParameters
Returns
void