We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee3d29e commit cedbadeCopy full SHA for cedbade
packages/workflow/src/api-workflow.ts
@@ -11,8 +11,10 @@ const workflowStub = (item: string) => {
11
);
12
};
13
14
-export function Run() {
15
- workflowStub('Run');
+export class Run {
+ constructor(runId?: string) {
16
+ workflowStub('Run');
17
+ }
18
}
19
export const getRun = () => workflowStub('getRun');
20
export const getHookByToken = () => workflowStub('getHookByToken');
0 commit comments