Skip to content
New issue

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

#168 completion errors on public methods #191

Merged
merged 11 commits into from
May 5, 2022

Conversation

llbartekll
Copy link
Contributor

@llbartekll llbartekll commented May 4, 2022

  • Rename WalletConnectRelay to NetworkInteractor
  • distinguish 3 request methods in NetworkInteractor: request, requestNetworkAck, requestPeerResponse
  • Add Concurrency to NetworkInteractor's request and Relayer's publish methods
  • Add Concurrency to public disconnect and session request methods
  • Apply async disconnect method to sample apps
  • Turn off queueing for socket frames - need to add policy here later

@llbartekll llbartekll requested a review from sekimondre May 4, 2022 11:21
@llbartekll llbartekll self-assigned this May 4, 2022
Comment on lines +24 to +32
// func testTextFramesSentAfterReconnectingSocket() {
// try! sut.disconnect(closeCode: .normalClosure)
// sut.send("1"){_ in}
// sut.send("2"){_ in}
// XCTAssertEqual(webSocketSession.sendCallCount, 0)
// try! sut.connect()
// socketConnectionObserver.onConnect?()
// XCTAssertEqual(webSocketSession.sendCallCount, 2)
// }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this commented test still needed or can it be removed?

@llbartekll llbartekll merged commit ce9e1f3 into develop May 5, 2022
@llbartekll llbartekll deleted the #168-completion-errors-on-public-methods branch May 5, 2022 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants