Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Pledge to FlowEvent #135

Closed
mratsim opened this issue May 16, 2020 · 0 comments · Fixed by #144
Closed

Rename Pledge to FlowEvent #135

mratsim opened this issue May 16, 2020 · 0 comments · Fixed by #144

Comments

@mratsim
Copy link
Owner

mratsim commented May 16, 2020

Dataflow parallelism was introduced in #94.

The term Pledge was coined as a parallel to Promises in the Async world.

However the term does not sound intuitive even though the concept is actually simple.

Besides, from looking into:

Event is a commonly accepted term for what the Pledge is doing.

Hence we should rename Pledge to FlowEvent

In parallel, spawnDelayed should be renamed spawnOnEvent.
And the dependsOn clause in parallelFor should be renamed waitForEvent to ease grep-ing for event-based / dataflow-based constructs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant