Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 9c31732

Browse files
authored
Possible typo in docs (#4088)
I think the author missed a "this" in the phrase
1 parent c61a335 commit 9c31732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/callbacks-promises-events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To help web3 integrate into all kinds of projects with different standards we pr
99
Most web3.js objects allow a callback as the last parameter, as well as returning promises to chain functions.
1010

1111
Ethereum as a blockchain has different levels of finality and therefore needs to return multiple "stages" of an action.
12-
To cope with requirement we return a "promiEvent" for functions like ``web3.eth.sendTransaction`` or contract methods.
12+
To cope with this requirement we return a "promiEvent" for functions like ``web3.eth.sendTransaction`` or contract methods.
1313
This "promiEvent" is a promise combined with an event emitter to allow acting on different stages of action on the blockchain, like a transaction.
1414

1515
PromiEvents work like a normal promises with added ``on``, ``once`` and ``off`` functions.

0 commit comments

Comments
 (0)