Skip to content

Accept a string as eventname parameter instead of objectΒ #76

@taylorjdawson

Description

@taylorjdawson

Use Case:

Users want to use web3data event listeners like they use other javascript style listeners (standardization!!).

Requirements:

  • Change the .on() method to allow a string for the event name rather than an object

Example:

w3d.on('block', {filters: {number: 7280000}}, () => {})

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions