Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ActionProcessor

Hierarchy

  • ActionProcessor

Index

Constructors

constructor

Properties

action

action: string

actionStartTime

actionStartTime: number

actionStatus

actionStatus: string | Error

actionTemplate

actionTemplate: Action

connection

connection: Connection

duration

duration: number

messageId

messageId: number | string

missingParams

missingParams: Array<string>

params

params: object

Type declaration

  • [key: string]: any

response

response: object

Type declaration

  • [key: string]: any

session

session: any

toProcess

toProcess: boolean

toRender

toRender: boolean

validatorErrors

validatorErrors: Array<string | Error>

working

working: boolean

Methods

Private completeAction

  • completeAction(status?: string | Error): Promise<this>

getPendingActionCount

  • getPendingActionCount(): number

Private incrementPendingActions

  • incrementPendingActions(count?: number): void

Private incrementTotalActions

  • incrementTotalActions(count?: number): void

lockParams

  • lockParams(): void

Private logAction

  • logAction(error: any): void

Private postProcessAction

  • postProcessAction(): Promise<void>

Private preProcessAction

  • preProcessAction(): Promise<void>

Private prepareStringMethod

  • prepareStringMethod(method: string): Function

processAction

  • processAction(): Promise<this>

Private reduceParams

  • reduceParams(schemaKey?: string): void

Private runAction

  • runAction(): Promise<this>

Private validateParam

  • validateParam(props: any, params: any, key: any, schemaKey: any): Promise<void>

Private validateParams

  • validateParams(schemaKey?: string): Promise<void>

Generated using TypeDoc