We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am trying to test Zip3 operator and it doesn't seem to be working as expected:
My Code:
`var disposable: [AnyCancellable] = [] func testZip3() {
let p1 = [3, 4, 5].cx.publisher let p2 = ["Hello", "World"].cx.publisher let p3 = [0.2, 0.6].cx.publisher Publishers.Zip3(p1, p2, p3) .print() .sink(receiveCompletion: { result in print(result) }, receiveValue: { (r1, r2, r3) in print(r1, r2, r3) }) .store(in: &disposable) }`
Output: : receive subscription: (MapError) : request unlimited : receive finished finished
: receive subscription: (MapError) : request unlimited : receive finished finished
PS: Same code works fine when I use Apple Combine.
The text was updated successfully, but these errors were encountered:
It seems Zip eagerly consumed all value from p1 and got .finished prematurely.
Zip
.finished
Sorry, something went wrong.
please try #106
Thank you!
Successfully merging a pull request may close this issue.
Hi,
I am trying to test Zip3 operator and it doesn't seem to be working as expected:
My Code:
`var disposable: [AnyCancellable] = []
func testZip3() {
Output:
: receive subscription: (MapError) : request unlimited : receive finished finished
PS: Same code works fine when I use Apple Combine.
The text was updated successfully, but these errors were encountered: