A comunica actor for determine-changes events.

Actor DetermineChanges:

  • Input: IActionDetermineChanges: The streaming query source, url, and metadata to determine changes.
  • Test: IActionDetermineChanges: The streaming query source, url, and metadata to determine changes.
  • Output: IActorDetermineChangesOutput: The determine-changes events.
  • IActionDetermineChanges
  • IActorDetermineChangesOutput

Type Parameters

  • TS = undefined

Hierarchy (View Summary)

Constructors

Properties

beforeActors: Actor<
    IActionDetermineChanges,
    IActorTest,
    IActorDetermineChangesOutput,
    TS,
>[]

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

bus: Bus<
    Actor<
        IActionDetermineChanges,
        IActorTest,
        IActorDetermineChangesOutput,
        TS,
    >,
    IActionDetermineChanges,
    IActorTest,
    IActorDetermineChangesOutput,
    TS,
>

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

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

    Parameters

    Returns Promise<TestResult<IActorTest, TS>>

    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.