Closed gwynne closed 3 years ago
:exclamation: No coverage uploaded for pull request base (
main@535bb30
). Click here to learn what that means. The diff coverage isn/a
.
@@ Coverage Diff @@
## main #83 +/- ##
=======================================
Coverage ? 76.95%
=======================================
Files ? 26
Lines ? 1766
Branches ? 0
=======================================
Hits ? 1359
Misses ? 407
Partials ? 0
Flag | Coverage Δ | |
---|---|---|
unittests | 76.95% <0.00%> (?) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 535bb30...f342808. Read the comment docs.
Huh, I'd swear I put the semver label on it... oh well, doing it manually.
Provides:
EventLoopFuture.nonempty(orError:)
: If the future'sCollection
-conforming value is empty, fails the future with the provided error.EventLoopFuture.nonemptyMap(or:_:)
: If the future'sCollection
-conforming value is empty, returns the provided alternate value, otherwise acts like.map(_:)
.EventLoopFuture.nonemptyMap(_:)
: If the future'sCollection
-conforming value is empty, returns an empty instance of theRangeReplaceableCollection
-conforming result value, otherwise acts like.map(_:)
.EventLoopFuture.nonemptyFlatMapThrowing(or:_:)
: If the future'sCollection
-conforming value is empty, returns the provided alternate value, otherwise acts like.flatMapThrowing(_:)
.EventLoopFuture.nonemptyFlatMapThrowing(_:)
: If the future'sCollection
-conforming value is empty, returns an empty instance of theRangeReplaceableCollection
-conforming result value, otherwise acts like.flatMapThrowing(_:)
.EventLoopFuture.nonemptyFlatMap(or:_:)
: If the future'sCollection
-conforming value is empty, returns a future with the provided alternate value, otherwise acts like.flatMap(_:)
.EventLoopFuture.nonemptyFlatMap(orFlat:_:)
: If the future'sCollection
-conforming value is empty, returns the provided alternate future, otherwise acts like.flatMap(_:)
.EventLoopFuture.nonemptyFlatMap(_:)
: If the future'sCollection
-conforming value is empty, returns a future with an empty instance of theRangeReplaceableCollection
-conforming result value, otherwise acts like.flatMap(_:)
.Example usage: