add documentation to session id setter
This commit is contained in:
parent
ca2d388275
commit
6ea9cfc803
@ -30,7 +30,8 @@ export default class Session extends EventTarget {
|
|||||||
|
|
||||||
/** Set the ID of this session.
|
/** Set the ID of this session.
|
||||||
*
|
*
|
||||||
* Note that an existing ID cannot be overwritten.
|
* Note that an existing ID cannot be overwritten. Setting an ID also doesn't
|
||||||
|
* trigger the `Session.EVENT_CHANGE` event.
|
||||||
*/
|
*/
|
||||||
set id(value) {
|
set id(value) {
|
||||||
if (this.#id !== null)
|
if (this.#id !== null)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user