• Set the metadata of the bindings stream derived from the metadata of the quads stream.

    Parameters

    • dataFactory: ComunicaDataFactory

      The data factory.

    • bindings: BindingsStream

      The bindings stream that will receive the metadata property.

    • quads: AsyncIterator<Quad>

      The quads stream that is guaranteed to emit the metadata property.

    • elementVariables: Record<string, string>

      Mapping of quad term name to variable name.

    • variables: Variable[]

      Variables to include in the metadata

    • forceEstimateCardinality: boolean

      Set the cardinality to estimate

    Returns void

    A lazy promise behind a callback resolving to a metadata object.