         progressCallback: AsyncProgressCallback?,
         stateCallback   : AsyncChangeStateCallback?,
         finishCallback  : AsyncTypes<Value, NSError>.DidFinishAsyncCallback?) -> AsyncHandler in
-        
+
         let wrappedDoneCallback = { (result: AsyncResult<Value, NSError>) -> () in
-            
+
             result.error?.writeErrorWithLogger()
             finishCallback?(result: result)
         }
-        
+
         let cancel = loader(
             progressCallback: progressCallback,
             stateCallback   : stateCallback,
             finishCallback  : wrappedDoneCallback)
-        
+
         return cancel
     }
 }

        progressCallback: AsyncProgressCallback?,
        stateCallback   : AsyncChangeStateCallback?,
        finishCallback  : AsyncTypes<Value, Error>.DidFinishAsyncCallback?) -> AsyncHandler in
        
        return loader(
            progressCallback: progressCallback,
            stateCallback   : stateCallback,

    return { (progressCallback: AsyncProgressCallback?,
              stateCallback   : AsyncChangeStateCallback?,
              doneCallback    : AsyncTypes<Value, Error>.DidFinishAsyncCallback?) -> AsyncHandler in

        let result = sameThreadJob()
        doneCallback?(result: result)
        return jStubHandlerAsyncBlock
