Skip to content

RFC: Integrate eth-block-tracker for subscribable queries #2

@danfinlay

Description

@danfinlay

Feature Proposal

Description

What if ethjs queries returned promEvents, somewhat like [email protected] plans to have.

In addition to calling .then() on a result, you could subscribe to updates. Imagine:

token.balanceOf(my_address).on('latest', updateBalanceView)

Should be easier than ever with eth-block-tracker.

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