Skip to content

Commit a897666

Browse files
committed
async not needed
1 parent 64839b8 commit a897666

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/client/stepContext.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,31 @@ export class StepContext implements WorkflowStep {
1919
private sender: BaseChannel<StepRequest>,
2020
) {}
2121

22-
async runQuery<Query extends FunctionReference<"query", "internal">>(
22+
runQuery<Query extends FunctionReference<"query", "internal">>(
2323
query: Query,
2424
args: FunctionArgs<Query>,
2525
opts?: RunOptions,
2626
): Promise<FunctionReturnType<Query>> {
2727
return this.runFunction("query", query, args, opts);
2828
}
2929

30-
async runMutation<Mutation extends FunctionReference<"mutation", "internal">>(
30+
runMutation<Mutation extends FunctionReference<"mutation", "internal">>(
3131
mutation: Mutation,
3232
args: FunctionArgs<Mutation>,
3333
opts?: RunOptions,
3434
): Promise<FunctionReturnType<Mutation>> {
3535
return this.runFunction("mutation", mutation, args, opts);
3636
}
3737

38-
async runAction<Action extends FunctionReference<"action", "internal">>(
38+
runAction<Action extends FunctionReference<"action", "internal">>(
3939
action: Action,
4040
args: FunctionArgs<Action>,
4141
opts?: RunOptions & RetryOption,
4242
): Promise<FunctionReturnType<Action>> {
4343
return this.runFunction("action", action, args, opts);
4444
}
4545

46-
async pause<
46+
pause<
4747
Mutation extends FunctionReference<
4848
"mutation",
4949
"internal",

0 commit comments

Comments
 (0)