Stepfunctor
    Preparing search index...

    Variable createFunctionConst

    createFunction: <IN, OUT, LS>(
        uniqueIdentifier: keyof LS & string,
        inner: (i: IN) => Promise<OUT>,
    ) => Func<IN, LS> = mkFunc

    Creates a single function as step function

    Type Declaration

      • <IN, OUT, LS>(
            uniqueIdentifier: keyof LS & string,
            inner: (i: IN) => Promise<OUT>,
        ): Func<IN, LS>
      • Type Parameters

        • IN
        • OUT
        • LS

        Parameters

        • uniqueIdentifier: keyof LS & string

          a globally unique

        • inner: (i: IN) => Promise<OUT>

          the function to execute

        Returns Func<IN, LS>