iya-sts
    Preparing search index...
    schedulerAction: (req: any, body: any, via: string) => any = ...

    Type Declaration

      • (req: any, body: any, via: string): any
      • Takes one of the page's two actions: run a job now, or step-down the leader.

        A realm administrator is refused a service job, a job in another realm and the step-down (STS-SCHED-0007).

        Parameters

        • req: any

          the request

        • body: any

          { action: 'run', job, realm?, params? } or { action: 'step-down' }

        • via: string

          which surface asked

        Returns any

        { ok, ... }, or { ok: false, errorCode, errors }