Skip to main content Link Search Menu Expand Document (external link)

Observable

observable.ts#L22

Type alias Observable

observable.ts#L33

batch (callback: (): void): void

Batch multiple observable changes together into a single callback.

Name Type Default Description
callback (): void    
observable.ts#L45

observe (state: T, parentModel: any): Observable<T>

Convert object to an observable Proxy with .watch() callbacks.

Name Type Default Description
state T    
parentModel any    

Copyright © 2022 Mathigon.org