iya-sts
    Preparing search index...

    Class export=

    Asks the store a question synchronously, through a worker thread with a connection of its own (#349).

    Index
    • Keeps the options; the thread starts at the first question.

      Parameters

      • options: SyncQueryOptions

        the connection, the bound, and a test backend

      Returns export=

      an Error when the bound is not a function

    • Asks a named question and waits for the answer.

      Parameters

      • name: string

        one of persistence/directory_queries.js's queries (or whatever a test backend answers)

      • args: unknown[]

        its arguments

      Returns unknown

      the answer

      an Error marked STS-LDAP-0130 when no answer came within the bound, or STS-LDAP-0131 when the store refused the question

    • The bridge's figures since the process started.

      Returns SyncQueryStats

      started threads, questions, timeouts, failures and wait times

    • Ends the thread, for a clean stop and for tests.

      Returns Promise<void>

      a promise that settles when the thread has gone