[]
Ƭ ISnapshotFragments<S>: Object
| Name | Type |
|---|---|
S |
unknown |
▪ [key: string]: S
Ƭ SnapshotTypes: "current" | "byVersion"
▸ documentFeature<S, T>(service?): IFeature
Creates a feature for operational transformation (OT) documents.
example
const server = new Server({ httpServer });
server.useFeature(documentFeature());
| Name | Type |
|---|---|
S |
unknown |
T |
unknown |
| Name | Type |
|---|---|
service? |
DocumentServices<S, T> |
IFeature
The OT document feature.