async-pipeline
async-pipeline copied to clipboard
New Custom pipes
trafficstars
I think it will be great if this library can have additional pipes like isEmpty, any.
In your example $items | length | not | async it's kind a hard to understand what do you mean there, it will be much easier to understand $items | isEmpty | async
I have added a new custom pipe (isEmpty) for that and created a PR #3 . It checks Arrays and Strings for "empty".