Improving Combine by adding All, Any, Await, Race operators, similar to Promises
Thread safe for all adding operators
Swift Package Manager
.package(url: "https://github.com/CodeEagle/CombineEx.git", from: "1.0.0")
Remember to keep the AnyCancelabel in your own
// same type
let token = all(publisher...)
let token = all([publisher])
// different type
let token = all(a, b)
// up to four different pulisher
let token = all(a, b, c, d)// same type
let token = any(publisher...)
let token = any([publisher])
// different type
let token = any(a, b)
// up to four different pulisher
let token = any(a, b, c, d)_ = try publisher.await()// only support same type racing
let token = race(publisher...)
let token = race([publisher])