flatMapEachThrowing() - identical to mapEach(), except that the body may throw an error. Any error thrown, regardless of which element of the sequence it was, fails the entire future.
flatMapEachCompactThrowing() - identical to mapEachCompact() except with throwing bodies.
Unit tests for both.
Checklist
[x] Circle CI is passing (code compiles and passes tests).
[x] There are no breaking changes to public API.
[x] New test cases have been added where appropriate.
[x] All new code has been commented with doc blocks ///.
[ ] The linuxMain.swift is regenerated using swift test --generate-linuxmain
Adds:
flatMapEachThrowing()
- identical tomapEach()
, except that the body may throw an error. Any error thrown, regardless of which element of the sequence it was, fails the entire future.flatMapEachCompactThrowing()
- identical tomapEachCompact()
except with throwing bodies.Unit tests for both.
Checklist
///
.swift test --generate-linuxmain