UNPKG

@compute.ts/core

Version:

Core package for libraries creation

19 lines (18 loc) 666 B
import { Observable } from 'rxjs'; export declare abstract class ComputeApiNode<RawType> { protected children: ComputeApiNode<any>[]; protected evalFn?: (...args: any) => RawType; protected value?: RawType; private valueChanges$; private notValid$; private isDirty; private parents; protected currentValue: RawType | undefined; constructor(children?: ComputeApiNode<any>[], evalFn?: (...args: any) => RawType, value?: RawType); protected affect(value: RawType): void; private addParents; private propagateDirty; eval(): RawType; get valueChanges(): Observable<RawType>; get notValid(): Observable<void>; }