vapor / async-kit

Sugary extensions for the SwiftNIO library
MIT License
71 stars 25 forks source link

Sync Flatten and Sync Reduce #43

Closed calebkleveter closed 4 years ago

calebkleveter commented 4 years ago

Two methods that would come in very handy for handling futures that need to be run one after another:

tanner0101 commented 4 years ago

EventLoopFutureQueue can be used to implement this behavior.