We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf3600 commit add61fdCopy full SHA for add61fd
packages/core/src/utils.ts
@@ -126,9 +126,9 @@ export function compose(inspectors: Inspector[]) {
126
...inspectorMap.normal,
127
...inspectorMap.post,
128
];
129
- return (getCtx: () => InspectorContext) => {
130
- return dispatch(0);
131
- function dispatch(i: number): void {
+ return async (getCtx: () => InspectorContext) => {
+ return await dispatch(0);
+ async function dispatch(i: number): Promise<void> {
132
const inspector = mergedInspectorFns[i];
133
return inspector(getCtx(), dispatch.bind(null, i + 1));
134
}
0 commit comments