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