API Reference

ISubscriptionInfointerface

Interface exported from property-observer/factories/indexed-value-observer-proxy-pair.

Overview

Observer/proxy pair support for indexed-value scenarios.

Declaration

export interface ISubscriptionInfo<TIndex>
  extends ISubscriptionIdInfo<TIndex>, IChangeSubscriptionsCreateMethods {
  initialValue?: unknown;
  indexValueObserver?: IObserver;
  owner: IDisposableOwner;
  initializeManually?: boolean;
  mustHandleChange?: (change: IPropertyChange) => boolean;
}

Import

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

Members

5 members in this interface.

indexValueObserver?
propertyoptional
indexValueObserver?: IObserver
initializeManually?
propertyoptional
initializeManually?: boolean

Type

boolean

initialValue?
propertyoptional
initialValue?: unknown

Type

unknown

mustHandleChange?
propertyoptional
mustHandleChange?: (change: IPropertyChange) => boolean

Type

(change: IPropertyChange) => boolean