* Randomly shuffles the elements of this stream. * * @param bufferSize: An integer specifying the number of elements from * this stream from which the new stream will sample. * @param seed: (Optional.) An integer specifying the random seed that * will be used to create the distributio
(windowSize: number, seed?: string)
| 464 | * will be used to create the distribution. |
| 465 | */ |
| 466 | shuffle(windowSize: number, seed?: string): LazyIterator<T> { |
| 467 | return new ShuffleIterator(this, windowSize, seed); |
| 468 | } |
| 469 | |
| 470 | /** |
| 471 | * Force an iterator to execute serially: each next() call will await the |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…