1
0

add documentation to session id setter

This commit is contained in:
Adrian Wannenmacher 2026-02-27 18:01:22 +01:00
parent ca2d388275
commit 6ea9cfc803
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

View File

@ -30,7 +30,8 @@ export default class Session extends EventTarget {
/** 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) {
if (this.#id !== null)