Overview
Groups watcher subscriptions by context and exposes per-context subscription orchestration.
API Reference
Interface exported from grouped-change-subscriptions-for-context-manager.
export interface IGroupedChangeSubscriptionsForContextManager<
TSubsriptionData,
TData,
TIdData = TData,
> extends IKeyedInstanceFactory<number, TData, IObserver, TIdData> {
getSubsriptionData(id: number): TSubsriptionData | undefined;
}import type { IGroupedChangeSubscriptionsForContextManager } from '@rs-x/state-manager';1 member in this interface.
getSubsriptionData(id: number): TSubsriptionData | undefinedParameters
| Name | Type | Required |
|---|---|---|
| id | number | required |
Returns
TSubsriptionData | undefined