Skip to content

is there a way we can remove a event listener #2454

Answered by ricmoo
aster2709 asked this question in Q&A
Discussion options

You must be logged in to vote

It follows the normal JavaScript event emitter API, so you can use contract.on(filter, listener) to start listening and contract.off(filter, listener).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aster2709
Comment options

Answer selected by aster2709
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants