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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.