Type Alias Wrapped<TIn>

Wrapped<TIn>: {
    annotate: (<TAnnotation>(transformer: ((value: TIn) => TAnnotation)) => Wrapped<{
        annotation: TAnnotation;
        value: TIn;
    }>);
    annotateWithOp: (<TOut>(op: ReactiveOp<TIn, TOut>) => Wrapped<{
        annotation: TOut;
        value: TIn;
    }>);
    average: ((options?: Partial<OpMathOptions>) => Wrapped<number>);
    chunk: ((options: Partial<ChunkOptions>) => Wrapped<TIn[]>);
    combineLatestToArray: (<const T>(sources: T, options: Partial<Rx.CombineLatestOptions>) => Wrapped<RxValueTypes<T>>);
    combineLatestToObject: (<const T>(sources: T, options: {
        name: string;
    } & Partial<Rx.CombineLatestOptions>) => Wrapped<RxValueTypeObject<T>>);
    debounce: ((options: Partial<DebounceOptions>) => Wrapped<TIn>);
    enacts: {
        setHtmlText: ((options: SetHtmlOptions) => (() => void));
    };
    field: (<TSource, TFieldType>(fieldName: keyof TIn, options: Partial<FieldOptions<TSource, TFieldType>>) => Wrapped<TFieldType>);
    filter: ((predicate: FilterPredicate<TIn>, options: Partial<InitStreamOptions>) => Wrapped<TIn>);
    max: ((options?: Partial<OpMathOptions>) => Wrapped<number>);
    min: ((options?: Partial<OpMathOptions>) => Wrapped<number>);
    onValue: ((callback: ((value: TIn) => void)) => void);
    source: Reactive<TIn>;
    split: ((options?: Partial<SplitOptions>) => Wrapped<TIn>[]);
    splitLabelled: (<K>(...labels: K[]) => Record<K, Wrapped<TIn>>);
    sum: ((options?: Partial<OpMathOptions>) => Wrapped<number>);
    switcher: (<TRec, TLabel>(cases: TRec, options: Partial<SwitcherOptions>) => Record<TLabel, Wrapped<TIn>>);
    syncToArray: (<const T>(reactiveSources: T, options?: Partial<Rx.SyncOptions>) => Wrapped<[TIn, ...RxValueTypes<T>]>);
    syncToObject: (<const T>(reactiveSources: T, options?: {
        name?: string;
    } & Partial<Rx.SyncOptions>) => Wrapped<RxValueTypeObject<T>>);
    tally: ((options?: Partial<TallyOptions>) => Wrapped<number>);
    tapOps: (<TOut>(source: ReactiveOrSource<TIn>, ...ops: ReactiveOp<TIn, TOut>[]) => Wrapped<TIn>);
    tapProcess: (<T2, T3, T4, T5, T6>(...processors: Processors<TIn, T2, T3, T4, T5, T6>) => Wrapped<TIn>);
    tapStream: ((divergedStream: ReactiveWritable<TIn>) => Wrapped<TIn>);
    throttle: ((options: Partial<ThrottleOptions>) => Wrapped<TIn>);
    timeoutPing: ((options: TimeoutPingOptions) => Wrapped<TIn>);
    timeoutValue: (<TTriggerValue>(options: TimeoutValueOptions<TTriggerValue>) => Wrapped<TIn | TTriggerValue>);
    toArray: ((options: Partial<Rx.ToArrayOptions<TIn>>) => Promise<(TIn | undefined)[]>);
    toArrayOrThrow: ((options: Partial<Rx.ToArrayOptions<TIn>>) => Promise<TIn[]>);
    transform: (<TOut>(transformer: ((value: TIn) => TOut), options?: Partial<TransformOpts>) => Wrapped<TOut>);
}

Wrapped Reactive for object-oriented access

Type Parameters

  • TIn

Type declaration