state-decorator 6.8.0 → 6.9.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.
- package/README.md +90 -25
- package/impl.es.js +1 -1
- package/impl.es.js.map +1 -1
- package/impl.js +1 -1
- package/impl.js.map +1 -1
- package/index.es.js.map +1 -1
- package/index.js.map +1 -1
- package/middlewares.es.js.map +1 -1
- package/middlewares.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +6 -0
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -189,6 +189,12 @@ export declare type AsyncActionBase<S, F extends (...args: any[]) => any, A, P,
|
|
|
189
189
|
* Whether reject the promise instead of handling it.
|
|
190
190
|
*/
|
|
191
191
|
rejectPromiseOnError?: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* When the error will not be managed by an errorEffect, errorSideEffect, getErrorMessage,
|
|
194
|
+
* the state decorator will not display an error message and will not return a failed promise
|
|
195
|
+
* (unless <code>rejectPromiseOnError</code>) is set.
|
|
196
|
+
*/
|
|
197
|
+
isErrorManaged?: boolean;
|
|
192
198
|
/**
|
|
193
199
|
* Handle side effects when the request succeeded.
|
|
194
200
|
* @param result The result of the request
|