Skip to content

Does provider.on return promise? #3903

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

You must be logged in to vote

Yes. The EventEmitterable uses promises for all its methods.

See: https://docs.ethers.org/v6/api/utils/events/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by daron4ever
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