Comunica
    Preparing search index...

    Interface IActorArgs<I, T, O, TS>

    interface IActorArgs<
        I extends IAction,
        T extends IActorTest,
        O extends IActorOutput,
        TS = undefined,
    > {
        beforeActors?: Actor<I, T, O, TS>[];
        bus: Bus<Actor<I, T, O, TS>, I, T, O, TS>;
        busFailMessage?: string;
        name: string;
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    beforeActors?: Actor<I, T, O, TS>[]

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

    bus: Bus<Actor<I, T, O, TS>, I, T, O, TS>

    The bus this actor subscribes to.

    busFailMessage?: string

    The message that will be configured in the bus for reporting failures.

    This message may be a template string that contains references to the executed action. For example, the following templated string is allowed: "RDF dereferencing failed: no actors could handle ${action.handle.mediaType}"

    name: string

    The name for this actor.

    {<rdf:subject>}