Files
swift-nio/Sources
Jake 4761f96301 Add flatSubmit method to EventLoop (#426) (#1174)
Motivation:

Calling EventLoop's submit method with a task that returns an EventLoopFuture results in a double future. flatSubmit provides an alternative which does not return a double future.

Modifications:

Added flatSubmit() to the EventLoop protocol and provided a default implementation that returns the result of calling flatMap { $0 } on the EventLoopFuture returned from task.

Result:

Additive change only. flatSubmit method on EventLoop will be available for use.
2019-10-22 13:25:49 -07:00
..
2019-02-26 14:15:56 +00:00
2019-10-16 22:06:55 -07:00
2019-10-02 12:10:09 +01:00
2019-03-25 12:09:16 +02:00