-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcommon-server.ts
More file actions
60 lines (53 loc) · 2.78 KB
/
Copy pathcommon-server.ts
File metadata and controls
60 lines (53 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/**
* @license
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
* SPDX-License-Identifier: Apache-2.0
*/
// organize-imports-ignore
export * from "./common";
// Connection-mutex seam. Everything below except `ConnectionReentryError` and
// `NestedConnectionTransactionError` is a provider-package internal: the
// vendor storages (`@workglow/sqlite`, `@workglow/postgres`,
// `@workglow/duckdb`) build their `withConnectionTransaction` support on it
// and are versioned in lockstep with this package. Application code should use
// `withConnectionTransaction` instead; these names are not covered by semver.
export {
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
__resetAlsForTesting,
ConnectionReentryError,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
getAlsStore,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
isSynchronousAls,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
runInTransactionOnConnection,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
runOnConnection,
} from "./tabular/ConnectionMutex.server";
export {
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
activeConnectionTxGroupHandle,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
assertSharedConnectionHandle,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
connectionTxQuery,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
deactivateConnectionTxStore,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
discardDeferredPuts,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
enqueueDeferredPut,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
isEnlistedInConnectionTx,
NestedConnectionTransactionError,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
runNativeConnectionTransaction,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
setConnectionTxQuery,
/** @internal — provider-package seam for withConnectionTransaction; not covered by semver. */
takeDeferredPuts,
} from "./tabular/runNativeConnectionTransaction";
export * from "./tabular/FsFolderTabularStorage";
export * from "./kv/FsFolderJsonKvStorage";
export * from "./kv/FsFolderKvStorage";
export * from "./tabular/SharedInMemoryTabularStorage";