danielgerlag / danielgerlag/workflow-core

Waiting for an event in a while loop

Open
#1,306 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
5.9k
Forks
1.3k
Avg merge
1d 1h
Merged PRs (30d)
5

Description

When you wait for an event in a while loop, you expect execution to continue each time the event is received and then continue waiting.

![image](https://github.com/user-attachments/assets/c7737b02-f4fa-43e7-99da-74985835cd25)

Why is context.ExecutionPointer.EventName null when CustomMessage.Run() executes, rather than the event name? context.ExecutionPointer.EventPublished Why is it false? Why don't loops wait?

![image](https://github.com/user-attachments/assets/aea77737-b375-49ed-a69e-350159bbb832)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.