mirror of
https://github.com/flynx/types.js.git
synced 2025-10-29 02:20:07 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a71459a5cb
commit
aedc9f0e7f
16
README.md
16
README.md
@ -317,16 +317,24 @@ This will return `true` if:
|
||||
|
||||
#### `<array>.inplaceSortAs(..)`
|
||||
|
||||
#### `<array>.toKeys(..)`
|
||||
|
||||
#### `<array>.toMap(..)`
|
||||
|
||||
|
||||
### Large `Array` iteration (chunked)
|
||||
|
||||
Iterating over very large `Array` instances in JavaScript can block execution,
|
||||
to avoid this `types.js` implements `.map(..)`/`.filter(..)`/`.reduce(..)`
|
||||
equivalent methods that split the array into chunks and iterate through
|
||||
them asynchroniosly giving the runtime a chance to run in between.
|
||||
|
||||
#### `<array>.mapChunks(..)`
|
||||
|
||||
#### `<array>.filterChunks(..)`
|
||||
|
||||
#### `<array>.reduceChunks(..)`
|
||||
|
||||
#### `<array>.toKeys(..)`
|
||||
|
||||
#### `<array>.toMap(..)`
|
||||
|
||||
|
||||
### `Array` (polyfill)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user