You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-19 10:22:30 +03:00
event jsdoc
Add a comment on the event event
This commit is contained in:
@@ -2872,6 +2872,10 @@ module.exports.CRYPTO_ENABLED = CRYPTO_ENABLED;
|
||||
|
||||
/**
|
||||
* Fires whenever the SDK receives a new event.
|
||||
* <p>
|
||||
* This is only fired for live events received via /sync - it is not fired for
|
||||
* events received over context, search, or pagination APIs.
|
||||
*
|
||||
* @event module:client~MatrixClient#"event"
|
||||
* @param {MatrixEvent} event The matrix event which caused this event to fire.
|
||||
* @example
|
||||
|
||||
Reference in New Issue
Block a user