             }
     }
     
-    var hasSucceeded : Bool {
+    public var hasSucceeded : Bool {
         switch self.state {
         case FetchState.Success(_):
             return true

    
    public typealias Failer = (NSError?) -> ()
    
    private var onSuccess : Succeeder?
    
    private var onFailure : Failer?
    
    private var state : FetchState<T> = FetchState.Pending
    
    public init() {}
    


import Foundation

public enum FetchState<T> {
    case Pending
    // Using Wrapper as a workaround for error 'unimplemented IR generation feature non-fixed multi-payload enum layout'
    // See: http://swiftradar.tumblr.com/post/88314603360/swift-fails-to-compile-enum-with-two-data-cases
