confusingstraw commented on pull request #64: URL: https://github.com/apache/incubator-flagon-useralejs/pull/64#issuecomment-802304482
> Gotcha, thanks for the thorough explanation! Understood that the Userale map/filter functions operate on the logging pipeline and they operate just like their JS array API counterparts. In the example code above, what is the purpose of adding the event listener? (noting that the snippet was originally taken from [examples/index.js](https://github.com/apache/incubator-flagon-useralejs/blob/master/example/index.js)) as @poorejc mentioned, it is probably just an artifact of quickly writing examples. the only examples i'm familiar with are the first two on the main `README.md` examples section. it is my fault for not having made a larger body of examples to pull from, as the `map`/`filter`/`packageCustomLog` API should be flexible enough to handle the vast majority of use cases, and it should be possible to do so without writing hacks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org