@dudousxd/nestjs-durable-core 0.55.0 → 0.55.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1162,6 +1162,15 @@ interface Transport {
|
|
|
1162
1162
|
* transports that don't partition simply omit it.
|
|
1163
1163
|
*/
|
|
1164
1164
|
useNamespace?(namespace: string): void;
|
|
1165
|
+
/**
|
|
1166
|
+
* A SIBLING transport on the same broker/connection, pinned to `namespace` (explicit — never
|
|
1167
|
+
* re-scoped by a later {@link useNamespace}). Powers the tenant-worker bridge preset
|
|
1168
|
+
* (`topology: { role: 'control-plane', tenant, tenantWorkers: 'bridge' }`): a tenant-scoped
|
|
1169
|
+
* operator pairs its namespaced primary with `withNamespace('default')` — a bare-prefix sibling —
|
|
1170
|
+
* so operator-convention tenant workers (`<group>@<tenant>` under the bare prefix) are
|
|
1171
|
+
* discoverable and dispatchable. Optional — transports that don't partition simply omit it.
|
|
1172
|
+
*/
|
|
1173
|
+
withNamespace?(namespace: string): Transport;
|
|
1165
1174
|
/** Release the transport's resources (broker workers, queues, connections) for a clean shutdown.
|
|
1166
1175
|
* Optional — an in-process transport has nothing to close. Called on `onApplicationShutdown`
|
|
1167
1176
|
* after the engine drains, so a deploy hands off instead of leaving the broker to time out. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1162,6 +1162,15 @@ interface Transport {
|
|
|
1162
1162
|
* transports that don't partition simply omit it.
|
|
1163
1163
|
*/
|
|
1164
1164
|
useNamespace?(namespace: string): void;
|
|
1165
|
+
/**
|
|
1166
|
+
* A SIBLING transport on the same broker/connection, pinned to `namespace` (explicit — never
|
|
1167
|
+
* re-scoped by a later {@link useNamespace}). Powers the tenant-worker bridge preset
|
|
1168
|
+
* (`topology: { role: 'control-plane', tenant, tenantWorkers: 'bridge' }`): a tenant-scoped
|
|
1169
|
+
* operator pairs its namespaced primary with `withNamespace('default')` — a bare-prefix sibling —
|
|
1170
|
+
* so operator-convention tenant workers (`<group>@<tenant>` under the bare prefix) are
|
|
1171
|
+
* discoverable and dispatchable. Optional — transports that don't partition simply omit it.
|
|
1172
|
+
*/
|
|
1173
|
+
withNamespace?(namespace: string): Transport;
|
|
1165
1174
|
/** Release the transport's resources (broker workers, queues, connections) for a clean shutdown.
|
|
1166
1175
|
* Optional — an in-process transport has nothing to close. Called on `onApplicationShutdown`
|
|
1167
1176
|
* after the engine drains, so a deploy hands off instead of leaving the broker to time out. */
|