You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s.summary = "NSOperation for Swift with generic input/output, chaining, error handling, and closures"
s.description = <<-DESC
AsyncOpKit brings Swift generics, error handling, and closures to NSOperations with `AsyncOp`, a Swift-only generic NSOperation subclass for composing asynchronous code.
`AsyncOp` supports:
* Generic input and output
* Closures for starting and cancelling work, handling results
* Closures for evaluating preconditions
* Making an AsyncOp dependent on input from another
You can subclass AsyncOp, but because it provides built-in storage for generic input and output and allows you to customize behavior with closures, in many if not most cases you can just use AsyncOp as-is.