Skip to content

Workflow never resumed after waitFor #49

@huksley

Description

@huksley

Workflow never resumed after waitFor
Based on an example in https://github.com/danielgerlag/workflow-es/blob/master/samples/node.js/typescript/04-events.ts

Node v12.11.1
Typescript: 3.5.1
workflow-es: "^2.3.5"
Source code: https://github.com/huksley/workflow-runner

Reproducing:

yarn install
yarn build
node build/src/main.js

This results in hanging because invoking publishEvent does not result in resuming the execution, here are the log:

Started workflow: d63f961b0d715
LogMessage: Waiting for event... d63f961b0d715
Pinging d63f961b0d715
Got ping, sending event
<node hangs here...>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions