Skip to content

Commit d7181eb

Browse files
committed
async not needed
1 parent 134cda4 commit d7181eb

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
@@ -18,31 +18,31 @@ export class StepContext implements WorkflowStep {
1818
private sender: BaseChannel<StepRequest>,
1919
) {}
2020

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

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

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

45-
async pause<
45+
pause<
4646
Mutation extends FunctionReference<
4747
"mutation",
4848
"internal",

0 commit comments

Comments
 (0)