You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
294 B

  1. //
  2. // Promise+Aliases.swift
  3. // then
  4. //
  5. // Created by Sacha Durand Saint Omer on 20/02/2017.
  6. // Copyright © 2017 s4cha. All rights reserved.
  7. //
  8. import Foundation
  9. public typealias EmptyPromise = Promise<Void>
  10. public typealias Async<T> = Promise<T>
  11. public typealias AsyncTask = Async<Void>