docs tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-05-24 00:49:51 +03:00
parent 889ca7c5da
commit 8011f9f123

View File

@ -484,16 +484,17 @@ The `callback(..)` controls the output of `sources(..)` by returning
one of the following: one of the following:
- `object.STOP` - `object.STOP`
This will make `sources(..)` stop and return the `<list>` including This will make `sources(..)` stop and return the `<list>` up to and
the object that triggered the _stop_. including the object that triggered the _stop_.
- `undefined` - `undefined`
Return the object triggering `callback(..)` in `<list>` as-is. Add the object triggering `callback(..)` in `<list>` as-is and continue.
- array - array
The containing values will be merged into the result list. This is a The containing values will be merged into the result list and continue.
way to either skip an object by returning `[]` or multiple values This is a way to either skip an object by returning `[]` or multiple
instead of one. values instead of one.
- `<value>` - `<value>`
Returned as-is instead of the object triggering `callback(..)`. Add to the resulting `<list>` as-is instead of the object triggering
`callback(..)` and continue.
### `values(..)` ### `values(..)`