Comunica
    Preparing search index...
    interface IActorOptimizeQueryOperationPruneEmptySourceOperationsArgs {
        askTimeout?: number;
        beforeActors?: Actor<
            IActionOptimizeQueryOperation,
            IActorTest,
            IActorOptimizeQueryOperationOutput,
            undefined,
        >[];
        bus: Bus<
            Actor<
                IActionOptimizeQueryOperation,
                IActorTest,
                IActorOptimizeQueryOperationOutput,
                undefined,
            >,
            IActionOptimizeQueryOperation,
            IActorTest,
            IActorOptimizeQueryOperationOutput,
            undefined,
        >;
        busFailMessage?: string;
        name: string;
        useAskIfSupported: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    askTimeout?: number

    Timeout in milliseconds for ASK queries, after which the source is assumed to have results. Failing ASK queries also lead to the source being assumed to have results. A value of 0 or less disables the timeout.

    {3000}
    
    beforeActors?: Actor<
        IActionOptimizeQueryOperation,
        IActorTest,
        IActorOptimizeQueryOperationOutput,
        undefined,
    >[]

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

    bus: Bus<
        Actor<
            IActionOptimizeQueryOperation,
            IActorTest,
            IActorOptimizeQueryOperationOutput,
            undefined,
        >,
        IActionOptimizeQueryOperation,
        IActorTest,
        IActorOptimizeQueryOperationOutput,
        undefined,
    >

    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>}
    
    useAskIfSupported: boolean

    If true, ASK queries will be sent to the source instead of COUNT queries to check emptiness for patterns. This will only be done for sources that accept ASK queries.

    {false}