Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Roebert committed May 16, 2016
1 parent 4904270 commit b263b54
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Sources/Promise.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ public class PromiseBase {
It is also possible to chain promises by calling the `then` methods. This way retrieving a certain value can be achieved
in multiple steps.

A subclass of this is used in the network layer of **Bright**, `HTTPPromise<Data, Task>`.

- note: This class if fully thread safe.

Example:
Expand All @@ -127,7 +125,7 @@ public class Promise<Value> : PromiseBase {
/**
Barrier queue used for changing the state of the promise in a thread safe way.
*/
private let barrier = dispatch_queue_create("com.icemobile.bright.promise.barrier", DISPATCH_QUEUE_CONCURRENT)
private let barrier = dispatch_queue_create("com.roebert.SwiftyPromise.promise.barrier", DISPATCH_QUEUE_CONCURRENT)

/**
List of `dispatch_semaphore_t` created when calling the `waitUntilCompleted` method.
Expand Down

0 comments on commit b263b54

Please sign in to comment.