Skip to content

Commit

Permalink
Merge pull request #29 from deco-cx/fix/await
Browse files Browse the repository at this point in the history
await genFn
  • Loading branch information
tlgimenes authored Oct 3, 2023
2 parents 7641cb7 + 272010d commit a987255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/deno/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const workflowRemoteRunner = <
) {
const ctx = Context(execution);

const genFn = workflow(ctx, ...input);
const genFn = await workflow(ctx, ...input);
let cmd = genFn.next();
while (!cmd.done) {
const event = await commands.issue(cmd.value);
Expand Down

0 comments on commit a987255

Please sign in to comment.