Overview
Set proxy factory and contracts that emit semantic membership changes.
API Reference
Class exported from proxies/set-proxy.
import { SetProxy } from '@rs-x/state-manager';import { SetProxy } from '@rs-x/state-manager';
const instance = new SetProxy(...args);3 members in this class.
constructor(
owner: IDisposableOwner,
initialValue: Set<unknown>,
private readonly _proxyRegistry: IProxyRegistry
)Parameters
| Name | Type | Required |
|---|---|---|
| owner | IDisposableOwner | required |
| initialValue | Set<unknown> | required |
| _proxyRegistry | IProxyRegistry | required |
public get(
originalSet: Set<unknown>,
property: PropertyKey
): unknownParameters
| Name | Type | Required |
|---|---|---|
| originalSet | Set<unknown> | required |
| property | PropertyKey | required |
Returns
unknown
protected override disposeInternal(): voidParameters
No parameters.
Returns
void