If specified return an array of events. Not to return an array if not specified. yieldMany represents the array capacity, not length.
Feel free to explore other names, yieldMany I'm not sure about
Example definition
interface Options {
/**
* Number of items to be yielded. If not specified 1 event (non array) is returned, else an array WHERE `cap` === `yieldMany`.
*/
yieldMany?: number;
...
}
If specified return an array of events. Not to return an array if not specified.
yieldMany
represents the array capacity, not length.Example definition
In the wild example