Interface AsyncLoopGenerator<Tresult, Titem, TidxKey, Tinput, TmapItemReturn, TmapKeyReturn>

interface AsyncLoopGenerator<Tresult, Titem, TidxKey, Tinput, TmapItemReturn, TmapKeyReturn> {
    stop: (() => void);
    each: (() => void);
    restart: Tinput extends IteratorOrGenerator<any>
        ? never
        : (() => void);
    reloop: Tinput extends IteratorOrGenerator<any>
        ? never
        : (() => LoopGenerator<Tresult, Titem, TidxKey, Tinput, TmapItemReturn, TmapKeyReturn>);
    [LOOP_SYMBOL]: IloopMeta<Titem, TidxKey, Tinput, TmapItemReturn, TmapKeyReturn>;
    next(...__namedParameters: [] | [any]): Promise<IteratorResult<Tresult, any>>;
    return(value: any): Promise<IteratorResult<Tresult, any>>;
    throw(e: any): Promise<IteratorResult<Tresult, any>>;
    [asyncIterator](): AsyncGenerator<Tresult, any, any>;
}

Type Parameters

  • Tresult = [any, any, number]
  • Titem = any
  • TidxKey = any
  • Tinput = any
  • TmapItemReturn = any
  • TmapKeyReturn = any

Hierarchy

  • AsyncGenerator<Tresult>
    • AsyncLoopGenerator

Methods

  • Parameters

    • Rest...__namedParameters: [] | [any]

    Returns Promise<IteratorResult<Tresult, any>>

  • Parameters

    • value: any

    Returns Promise<IteratorResult<Tresult, any>>

  • Parameters

    • e: any

    Returns Promise<IteratorResult<Tresult, any>>

  • Returns AsyncGenerator<Tresult, any, any>

Properties

stop: (() => void)
each: (() => void)
restart: Tinput extends IteratorOrGenerator<any>
    ? never
    : (() => void)
reloop: Tinput extends IteratorOrGenerator<any>
    ? never
    : (() => LoopGenerator<Tresult, Titem, TidxKey, Tinput, TmapItemReturn, TmapKeyReturn>)