Callbacks Promises Events
web3.js中文学习文档
Jun 13
To help web3 integrate into all kind of projects with different standards we provide multiple ways to act on asynchronous functions. Most web3.js objects allow a callback as the last parameter, as well as returning promises to chain functions. Ethereum as a blockchain has different levels of finality and therefore needs to return multiple “stages” of an action. To cope with requirement we return a “promiEvent” for functions like web3.eth.sendTransaction or contract methods. This “promiEvent” ...
ParagraphParagraph

web3.js中文学习文档

Written by
web3.js中文学习文档

web3中文手册,web3入门

Subscribe

2025 Paragraph Technologies Inc

PopularTrendingPrivacyTermsHome
Search...Ctrl+K

web3.js中文学习文档

Subscribe