Setu-TS
    Preparing search index...

    Interface SessionServiceDeps

    Runtime capabilities the service needs, injected for testability.

    interface SessionServiceDeps {
        now: () => number;
        randomBytes: (length: number) => Uint8Array;
        subtle: SubtleCrypto;
        uuid: () => string;
    }
    Index
    now: () => number

    Wall-clock milliseconds, from IRuntimeServices.now.

    randomBytes: (length: number) => Uint8Array

    Random bytes, from IRuntimeServices.randomBytes.

    subtle: SubtleCrypto

    Web Crypto, from IRuntimeServices.subtle.

    uuid: () => string

    Identifier source, from IRuntimeServices.uuid.