@schemeless/event-store-types 2.7.0 → 2.8.0
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.
|
@@ -75,6 +75,12 @@ type EventObserverFilter = EventObserverStaticFilter;
|
|
|
75
75
|
export interface SuccessEventObserver<Payload = any> {
|
|
76
76
|
filters: EventObserverFilter[];
|
|
77
77
|
priority: number;
|
|
78
|
+
/**
|
|
79
|
+
* If true, the observer will be executed asynchronously without blocking.
|
|
80
|
+
* The main flow will not wait for this observer to complete.
|
|
81
|
+
* @default false
|
|
82
|
+
*/
|
|
83
|
+
fireAndForget?: boolean;
|
|
78
84
|
readonly apply?: (event: CreatedEvent<Payload>) => Promise<void> | void;
|
|
79
85
|
}
|
|
80
86
|
export declare enum SideEffectsState {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schemeless/event-store-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"typescript:main": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "9e1007630f46b41e01991bebd535d37390e7bf32"
|
|
38
38
|
}
|