mirror of
https://github.com/flynx/types.js.git
synced 2025-10-29 02:20:07 +00:00
tweaks to docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e7d785900d
commit
75c039e57f
@ -1797,6 +1797,7 @@ XXX only list the differences...
|
||||
|
||||
This is like `Array`'s `.slice(..)` but does not support negative indexes.
|
||||
|
||||
|
||||
#### `<Generator>.map(..)` / `<Generator>.filter(..)` / `<Generator>.reduce(..)` / `<Generator>.flat()`
|
||||
|
||||
<!-- XXX -->
|
||||
@ -1888,7 +1889,6 @@ z.rename('a (2)', 'c')
|
||||
console.log([...z.keys()]) // -> ['a', 'a (1)', 'b', 'a (3)', 'c']
|
||||
```
|
||||
|
||||
|
||||
For more info on `Map` see:
|
||||
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
|
||||
|
||||
@ -1919,6 +1919,7 @@ Key updating is done via [`<unique-key-map>.__key_pattern__`](#unique-key-map__k
|
||||
|
||||
Explicitly write an `<item>` under `<key>` as-is, this is like `Map`'s `.set(..)`.
|
||||
|
||||
|
||||
#### `<unique-key-map>.rename(..)`
|
||||
|
||||
```bnf
|
||||
@ -2175,8 +2176,8 @@ Event, triggered when a task is completed passing in its result.
|
||||
|
||||
#### `FinalizableQueue(..)` / `FinalizableQueue.runTasks(..)` (Queue)
|
||||
|
||||
This is the similar as `Queue(..)` but adds two terminal states (`"done"`
|
||||
and `"aborted"`) and a `promise`-mapping.
|
||||
This is similar to `Queue(..)` but adds two terminal states (`"done"` and
|
||||
`"aborted"`) and a `promise`-mapping.
|
||||
|
||||
```bnf
|
||||
FinalizableQueue.handle(<func>, ...<data>)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user