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

interface LoopGenerator<Tresult, Titem, TidxKey, Tinput, TmapItemReturn, TmapKeyReturn> {
    stop: (() => 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]): IteratorResult<Tresult, any>;
    return(value: any): IteratorResult<Tresult, any>;
    throw(e: any): IteratorResult<Tresult, any>;
    [iterator](): Generator<Tresult, any, any>;
}

Type Parameters

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

Hierarchy

Methods

  • Parameters

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

    Returns IteratorResult<Tresult, any>

  • Parameters

    • value: any

    Returns IteratorResult<Tresult, any>

  • Parameters

    • e: any

    Returns IteratorResult<Tresult, any>

  • Returns Generator<Tresult, any, any>

Properties

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