UNPKG

@electric-sql/d2ts

Version:

D2TS is a TypeScript implementation of Differential Dataflow.

14 lines (13 loc) 451 B
import { PipedOperator } from '../types.js'; import { LinearUnaryOperator } from './base.js'; import { MultiSet } from '../multiset.js'; /** * Operator that negates the multiplicities in the input stream */ export declare class NegateOperator<T> extends LinearUnaryOperator<T, T> { inner(collection: MultiSet<T>): MultiSet<T>; } /** * Negates the multiplicities in the input stream */ export declare function negate<T>(): PipedOperator<T, T>;