TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Mar 2015 |
Maintained by John Wana.
Async is a set of functions for working with asynchronous blocks in Objective-C.
Project/AsyncTests.xcodeproj
contains a simple set of tests that demonstrate how to use the library.
Async.h
in your project.success
and failure
block. If any one block fails, failure()
will be called. If not, succcess()
is calledseries
: run a set of blocks in sequential orderparallel
: run a set of blocks in paralleleachSeries
: runs a block in series with every item in an arrayeachParallel
: runs a block in parallel with every item in an arraymapParallel
: runs a block in parallel with every item in an array, collecting all the return valuesmapSeries
: runs a block in series with every item in an array, collecting all the return valuesrepeatUntilSuccess
: repeat a block until it succeeds or maxAttempts is reachedwaterfall
: run a set of blocks in series, passing the return value of a block to the next blockJohn Wana, [email protected]
Async is available under the MIT license. See the LICENSE file for more info.