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