SessionWorkingMemory
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SessionWorkingMemory(session): SessionWorkingMemory;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”SessionWorkingMemory
Methods
Section titled “Methods”clear()
Section titled “clear()”clear(): void;Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”delete()
Section titled “delete()”delete(key): boolean;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”boolean
Implementation of
Section titled “Implementation of”get<T>(key): T | undefined;Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”T | undefined
Implementation of
Section titled “Implementation of”has(key): boolean;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”boolean
Implementation of
Section titled “Implementation of”set<T>(key, value): void;Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”toJSON()
Section titled “toJSON()”toJSON(): Record<string, unknown>;Returns
Section titled “Returns”Record<string, unknown>