setSessionMetadata
Merge metadata into a session, creating the entry if it does not exist. Automatically triggers cleanup when the metadata map exceeds 1000 entries.
Parameters
sessionId
The session identifier.
metadata
Key-value pairs to merge into the session metadata.
Returns
void