diff --git a/promises/Promise.swift b/promises/Promise.swift index e52721f..eff59f4 100644 --- a/promises/Promise.swift +++ b/promises/Promise.swift @@ -40,6 +40,10 @@ public class Promise { private var _thens: [((result:T?) -> ())] = [] private var _fails: [(error:String) -> Void] = [] + public init(){ + + } + // Resolve method. // // Returns a resolve function that loops through pending callbacks,