Clarify more docs
This commit is contained in:
parent
fe6b7c0ea2
commit
950f591b3f
2 changed files with 5 additions and 3 deletions
|
@ -86,8 +86,8 @@ export default {
|
|||
* @param {MatrixClient} matrixClient a MatrixClient to register a listener with.
|
||||
* @param {string} eventName the event to listen to on MatrixClient.
|
||||
* @param {function} actionCreator a function that should return an action to dispatch
|
||||
* when given the arguments emitted in the MatrixClient
|
||||
* event.
|
||||
* when given the MatrixClient as an argument as well as
|
||||
* arguments emitted in the MatrixClient event.
|
||||
*/
|
||||
_addMatrixClientListener(matrixClient, eventName, actionCreator) {
|
||||
const listener = (...args) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue