Skip to content

Tasks as promises? #10

@philippe-wm

Description

@philippe-wm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions