Closed gwynne closed 3 years ago
Adds helpers for writing [1, 2, 3].sequencedFlatMapEach(on: eventLoop) { SomeModel($0).save(on: db) } instead of eventLoop.future([1, 2, 3]).sequencedFlatMapEach { }. More for completeness than anything.
[1, 2, 3].sequencedFlatMapEach(on: eventLoop) { SomeModel($0).save(on: db) }
eventLoop.future([1, 2, 3]).sequencedFlatMapEach { }
These changes are now available in 1.4.0
Adds helpers for writing
[1, 2, 3].sequencedFlatMapEach(on: eventLoop) { SomeModel($0).save(on: db) }
instead ofeventLoop.future([1, 2, 3]).sequencedFlatMapEach { }
. More for completeness than anything.