A comunica Set Defaults Link Traversal Context Preprocess Actor.

Hierarchy

  • ActorContextPreprocess
    • ActorContextPreprocessSetDefaultsLinkTraversal

Constructors

Properties

beforeActors: Actor<
    IActionContextPreprocess,
    IActorTest,
    IActorContextPreprocessOutput,
>[]

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

bus: Bus<
    Actor<
        IActionContextPreprocess,
        IActorTest,
        IActorContextPreprocessOutput,
    >,
    IActionContextPreprocess,
    IActorTest,
    IActorContextPreprocessOutput,
>

The bus this actor subscribes to.

name: string

The name for this actor.

{<rdf:subject>}

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 AND invokes the Bus#onRun method.

    Parameters

    • action: IActionContextPreprocess

      The action to run.

    • sideData: undefined

    Returns Promise<IActorContextPreprocessOutput>

    A promise that resolves to the run result.

  • Get the logger from the given context.

    Parameters

    • context: IActionContext

      An optional context.

    Returns undefined | Logger

    The logger or undefined.