Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TestContext

Index

Properties

cache: Cache
kernel: Kernel
logContext: LogContext
queue: { actor: string; consumer: Consumer; producer: Producer }

Type declaration

  • actor: string
  • consumer: Consumer
  • producer: Producer
session: string
sessionActor: UserContract
worker?: any

Methods

  • dequeue(times?: number): Promise<null | ActionRequest>
  • Parameters

    • Optional times: number

    Returns Promise<null | ActionRequest>

  • flush(session: string): Promise<void>
  • flushAll(ssn: string): Promise<void>
  • generateRandomID(): string
  • processAction(session: string, action: ActionRequest): Promise<ProducerResults>
  • Parameters

    • session: string
    • action: ActionRequest

    Returns Promise<ProducerResults>

Generated using TypeDoc