Pawnote
    Preparing search index...

    Type Alias SessionHandle

    type SessionHandle = {
        fetcher: Fetcher;
        information: SessionInformation;
        instance: InstanceParameters;
        presence: null | ReturnType<typeof setInterval>;
        queue: Queue;
        user: UserParameters;
        userResource: UserResource;
    }
    Index

    Properties

    fetcher: Fetcher
    information: SessionInformation

    Equivalent of a PRONOTE session. Contains metadata, AES keys, RSA modulus, and more.

    presence: null | ReturnType<typeof setInterval>
    queue: Queue
    userResource: UserResource

    Can be updated with the pronote.use(number | UserResource) method.

    user.resources[0] // first resource from the user