Instances of this interface perform a specific aggregation of bindings. You can put bindings and when all bindings have been put, request the result.

interface IBindingsAggregator {
    putBindings: ((bindings: Bindings) => Promise<void>);
    result: (() => Promise<undefined | Term>);
}

Hierarchy (view full)

Implemented by

    Properties

    Properties

    putBindings: ((bindings: Bindings) => Promise<void>)

    Registers bindings to the aggregator. Each binding you put has the ability to change the aggregation result.

    Type declaration

      • (bindings): Promise<void>
      • Parameters

        • bindings: Bindings

          the bindings to put.

        Returns Promise<void>

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

    Request the result term of aggregating the bindings you have put in the aggregator.