Constructs a DeltaValue, pairing a value schema with a batch reducer (and an optional distinct input schema).
constructor<
Value = unknown,
Input = Value
>(
valueSchema: SerializableSchema<unknown, Value>,
init: DeltaValueInitWithSchema<Value, Input>
): DeltaValue<Value, Input>| Name | Type | Description |
|---|---|---|
valueSchema* | SerializableSchema<unknown, Value> | The schema describing the stored/output value. |
init* | DeltaValueInitWithSchema<Value, Input> | The reducer (required), |