• Provides a custom name for an object, to be used in naming operations in the pipeline. E.g. one could write

    pcoll.map(withName("doubleIt", (x) => (2 * x)))
    

    and this step in the graph will be henceforth referred to as "doubleIt."

    Type Parameters

    • T

    Parameters

    • name: string | (() => string)
    • arg: T

    Returns T

Generated using TypeDoc