reactronic 0.24.303 → 0.24.304
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.
|
@@ -20,7 +20,7 @@ export declare abstract class Transaction implements Worker {
|
|
|
20
20
|
abstract cancel(error: Error, retryAfterOrIgnore?: Worker | null): this;
|
|
21
21
|
abstract readonly isCanceled: boolean;
|
|
22
22
|
abstract readonly isFinished: boolean;
|
|
23
|
-
whenFinished(): Promise<void>;
|
|
23
|
+
whenFinished(includingParent?: boolean): Promise<void>;
|
|
24
24
|
static create(options: SnapshotOptions | null, parent?: Transaction): Transaction;
|
|
25
25
|
static run<T>(options: SnapshotOptions | null, func: F<T>, ...args: any[]): T;
|
|
26
26
|
static isolate<T>(func: F<T>, ...args: any[]): T;
|
|
@@ -14,7 +14,7 @@ import { Meta } from "./Data.js";
|
|
|
14
14
|
import { Changeset, Dump, EMPTY_OBJECT_VERSION, UNDEFINED_REVISION } from "./Changeset.js";
|
|
15
15
|
export class Transaction {
|
|
16
16
|
static get current() { return TransactionImpl.current; }
|
|
17
|
-
whenFinished() {
|
|
17
|
+
whenFinished(includingParent) {
|
|
18
18
|
return __awaiter(this, void 0, void 0, function* () { });
|
|
19
19
|
}
|
|
20
20
|
static create(options, parent) { return new TransactionImpl(options, parent); }
|