API Reference

IChangeSubscriptionsCreateMethodsinterface

Interface exported from grouped-change-subscriptions-for-context-manager.

Overview

Groups watcher subscriptions by context and exposes per-context subscription orchestration.

Declaration

export interface IChangeSubscriptionsCreateMethods {
  onChanged: (change: IPropertyChange) => void;
  init?: (observer: IObserver) => void;
}

Import

import type { IChangeSubscriptionsCreateMethods } from '@rs-x/state-manager';

Members

2 members in this interface.

init?
propertyoptional
init?: (observer: IObserver) => void

Type

(observer: IObserver) => void

onChanged
property
onChanged: (change: IPropertyChange) => void

Type

(change: IPropertyChange) => void