UNPKG

@scandit/web-datacapture-barcode

Version:

Scandit Data Capture SDK for the Web

18 lines 581 B
//#region src/main/worker/PropertyBehaviorSubject.d.ts interface Property { key: string; value: null | string | boolean | object; } interface PropertySubscriber { onPropertyChanged?(property: Property): void; } declare class PropertyBehaviorSubject { private property; private subscribers; constructor(keyName: string); addSubscriber(subscriber: PropertySubscriber): void; removeSubscriber(subscriber: PropertySubscriber): void; setProperty(property: Property): void; } //#endregion export { PropertyBehaviorSubject as n, PropertySubscriber as r, Property as t };