Comunica
    Preparing search index...

    Interface IExtensionAggregator

    The aggregator of an extension aggregate for a single group. Errors thrown by it, and errors evaluating the arguments of the aggregate call, leave the result unbound.

    interface IExtensionAggregator {
        put: (args: Term[]) => void | Promise<void>;
        result: () => Term | Promise<(Term | undefined)> | undefined;
    }
    Index

    Properties

    Properties

    put: (args: Term[]) => void | Promise<void>

    Adds the evaluated arguments of the aggregate call for a solution of the group. Solutions for which an argument uses an unbound variable are skipped. If the aggregate is called with DISTINCT, each distinct list of arguments is only put once.

    Type Declaration

      • (args: Term[]): void | Promise<void>
      • Parameters

        • args: Term[]

          the evaluated arguments.

        Returns void | Promise<void>

    result: () => Term | Promise<(Term | undefined)> | undefined

    The result of aggregating all arguments that have been put, or undefined to leave the result unbound.