SessionOrigins: the mechanism SessionSources implements.
API
@Interface()
export abstract class SessionOrigins {
abstract set(sessionId: string, source: SessionSource | null): void;
abstract get(sessionId: string): SessionSource | null | undefined;
abstract delete(sessionId: string): void;
}Contract Topology
Static AST wiring across @Module / @Provide / @UseMembers (3)
set
set(sessionId: string, source: SessionSource | null): voidnull: the Session's Trace head records no source (written before it was required).
@paramsessionId
string@paramsource
SessionSource | null@returns
voidget
get(sessionId: string): SessionSource | null | undefined@paramsessionId
string@returns
SessionSource | null | undefineddelete
delete(sessionId: string): void@paramsessionId
string@returns
void