An incremunica OrderBy Query Operation Actor.

Hierarchy

  • ActorQueryOperationTypedMediated<Algebra.OrderBy>
    • ActorQueryOperationOrderBy

Constructors

Properties

beforeActors: Actor<IActionQueryOperation, IActorTest, IQueryOperationResult>[]

Actor that must be registered in the bus before this actor.

bus: Bus<
    Actor<IActionQueryOperation, IActorTest, IQueryOperationResult>,
    IActionQueryOperation,
    IActorTest,
    IQueryOperationResult,
>

The bus this actor subscribes to.

mediatorQueryOperation: MediatorQueryOperation
name: string

The name for this actor.

{<rdf:subject>}
operationName: string

Methods

  • Parameters

    • context: IActionContext
    • Optionaldata: () => any

    Returns any

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Run the given action on this actor.

    In most cases, this method should not be called directly. Instead, #runObservable should be called.

    Parameters

    • action: IActionQueryOperation

      The action to run.

    • sideData: undefined

    Returns Promise<IQueryOperationResult>

    A promise that resolves to the run result.

  • Run the given action on this actor AND invokes the Bus#onRun method.

    Parameters

    • action: IActionQueryOperation

      The action to run.

    • sideData: undefined

    Returns Promise<IQueryOperationResult>

    A promise that resolves to the run result.

  • Check if this actor can run the given action, without actually running it.

    Parameters

    • action: IActionQueryOperation

      The action to test.

    Returns Promise<TestResult<IActorTest, undefined>>

    A promise that resolves to the test result.

  • Get the logger from the given context.

    Parameters

    • context: IActionContext

      An optional context.

    Returns undefined | Logger

    The logger or undefined.