Skip to content

Instantly share code, notes, and snippets.

@olbrichj
Created March 21, 2018 11:49
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 olbrichj/06fc2c419b9a7895e99e7dbfe35f8640 to your computer and use it in GitHub Desktop.
Save olbrichj/06fc2c419b9a7895e99e7dbfe35f8640 to your computer and use it in GitHub Desktop.
let p1 = promise1.then {
...
}
let p2 = promise2.then {
...
}
when(fulfilled: p1, p2).catch { error in
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment