SwiftNIO – futures and promises

SwiftNIO is a library that provides event-based data flow through networks and data streams, including files. An important part of that is to know and understand the event loop and what futures and promises are and the roles that they play.

Let's analyze the elements of NIO:

  • EventLoop
  • EventLoopFutures
  • EventLoopPromises

Get Hands-On Swift 5 Microservices Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.