Skip to content

Instantly share code, notes, and snippets.

@tibr
Created May 24, 2015 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tibr/441ea71c8c0fd69bca58 to your computer and use it in GitHub Desktop.
Save tibr/441ea71c8c0fd69bca58 to your computer and use it in GitHub Desktop.
func fetchNotificationsNotMatchingEtag(etag: String?, includeReadNotifications includeRead: Bool, updatedSince since: NSDate?) -> SignalProducer<OCTResponse, NSError> {
let signal = fetchNotificationsNotMatchingEtag(etag, includeReadNotifications: includeRead, updatedSince: since)
return signal.toSignalProducer()
|> map { $0 as! OCTResponse }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment