removeAllListeners
Remove all listeners form a contract, such as with addEventListener
,
or addTransactionListener
.
Usage
To remove all listeners from a contract, call the removeAllListeners
method.
contract.events.removeAllListeners();
Remove all listeners form a contract, such as with addEventListener
,
or addTransactionListener
.
To remove all listeners from a contract, call the removeAllListeners
method.
contract.events.removeAllListeners();