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

Tasks as promises? #10

Open
philippe-wm opened this issue Oct 13, 2023 · 0 comments
Open

Tasks as promises? #10

philippe-wm opened this issue Oct 13, 2023 · 0 comments

Comments

@philippe-wm
Copy link

It seems the library implementation is based on a Promise node with a few fields (state, result) which are monitored by the chain logic.

Wouldn't a task with right fields pass as a promise? It would be very convenient and avoid creating extra promise nodes to integrate in a chain.

If that's possible the doc could show and example/template to follow.

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

No branches or pull requests

1 participant