No JSDoc comment in source yet.
API
@Component()
export class SessionSources implements SessionOrigins {
set(sessionId: string, source: RecordedSource): void;
get(sessionId: string): RecordedSource | undefined;
delete(sessionId: string): void;
}Dependencies & Wiring
Extracted from class decoratorsMethods (3)
set
set(sessionId: string, source: RecordedSource): voidRecords a Session's source as read from session_meta (null: a head that records none).
@paramsessionId
string@paramsource
RecordedSource@returns
voidget
get(sessionId: string): RecordedSource | undefinedWhat the Session's meta records: a source, null for a head that records none (read it
through readRecordedSource), undefined when this process has not seen the meta.
@paramsessionId
string@returns
RecordedSource | undefineddelete
delete(sessionId: string): voidDrops a deleted Session's entry (bulk Agent/Project deletion may leave stale entries; they are never matched again).
@paramsessionId
string@returns
void