@@ -18,31 +18,31 @@ export class StepContext implements WorkflowStep {
18
18
private sender : BaseChannel < StepRequest > ,
19
19
) { }
20
20
21
- async runQuery < Query extends FunctionReference < "query" , "internal" > > (
21
+ runQuery < Query extends FunctionReference < "query" , "internal" > > (
22
22
query : Query ,
23
23
args : FunctionArgs < Query > ,
24
24
opts ?: RunOptions ,
25
25
) : Promise < FunctionReturnType < Query > > {
26
26
return this . runFunction ( "query" , query , args , opts ) ;
27
27
}
28
28
29
- async runMutation < Mutation extends FunctionReference < "mutation" , "internal" > > (
29
+ runMutation < Mutation extends FunctionReference < "mutation" , "internal" > > (
30
30
mutation : Mutation ,
31
31
args : FunctionArgs < Mutation > ,
32
32
opts ?: RunOptions ,
33
33
) : Promise < FunctionReturnType < Mutation > > {
34
34
return this . runFunction ( "mutation" , mutation , args , opts ) ;
35
35
}
36
36
37
- async runAction < Action extends FunctionReference < "action" , "internal" > > (
37
+ runAction < Action extends FunctionReference < "action" , "internal" > > (
38
38
action : Action ,
39
39
args : FunctionArgs < Action > ,
40
40
opts ?: RunOptions & RetryOption ,
41
41
) : Promise < FunctionReturnType < Action > > {
42
42
return this . runFunction ( "action" , action , args , opts ) ;
43
43
}
44
44
45
- async pause <
45
+ pause <
46
46
Mutation extends FunctionReference <
47
47
"mutation" ,
48
48
"internal" ,
0 commit comments