Add jsdoc for powerlevels
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
5873ab63ba
commit
e406aa6e45
1 changed files with 5 additions and 0 deletions
|
@ -413,6 +413,11 @@ export class BaseRoom extends EventEmitter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the PowerLevels of the room.
|
||||||
|
* Always subscribe to the value returned by this method.
|
||||||
|
* @returns {RetainedObservableValue} PowerLevels of the room
|
||||||
|
*/
|
||||||
async observePowerLevels() {
|
async observePowerLevels() {
|
||||||
if (this._powerLevelLoading) { await this._powerLevelLoading; }
|
if (this._powerLevelLoading) { await this._powerLevelLoading; }
|
||||||
let observable = this._powerLevels;
|
let observable = this._powerLevels;
|
||||||
|
|
Reference in a new issue