Skip to content

Commit 6901b6c

Browse files
committed
Revert "✨feat: promisable inspector (#35)"
This reverts commit add61fd.
1 parent add61fd commit 6901b6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ export function compose(inspectors: Inspector[]) {
126126
...inspectorMap.normal,
127127
...inspectorMap.post,
128128
];
129-
return async (getCtx: () => InspectorContext) => {
130-
return await dispatch(0);
131-
async function dispatch(i: number): Promise<void> {
129+
return (getCtx: () => InspectorContext) => {
130+
return dispatch(0);
131+
function dispatch(i: number): void {
132132
const inspector = mergedInspectorFns[i];
133133
return inspector(getCtx(), dispatch.bind(null, i + 1));
134134
}

0 commit comments

Comments
 (0)