createMetaConnector
Essential
The createMetaConnector function creates a custom MetaConnector instance from the provided implementation callbacks.
createMetaConnector<Depth>(
options: MetaConnectorOptions<Depth>,
implementations: MetaConnectorImplementations<Depth>,
optimizations?: MetaConnectorOptimizations<Depth>,
extraMembers?: ExtraMembers,
): MetaConnector<Depth>| Type | Description | |
|---|---|---|
options | MetaConnectorOptions<Depth> | |
implementations | MetaConnectorImplementations<Depth> | |
optimizations? | MetaConnectorOptimizations<Depth> | |
extraMembers? | ExtraMembers | |
| returns | MetaConnector<Depth> |
This low-level factory allows you to build metadata storage connectors for any backend by implementing the required timestamp operations (readTimestamp, writeTimestamp, readChildIds). Optional optimization callbacks (readTimestamps, getMeta) can improve bulk operation performance.
Most applications should use pre-built connector factories like createPgliteMetaConnector or createFileMetaConnector rather than calling this function directly.
Since
v0.0.0