Neal Sanche
05/04/2021, 11:40 PMmbonnin
05/05/2021, 8:13 AMCONFLATED
channel somewhere... Do you have a rough idea of the delay that makes everything work again? Are we talking milliseconds or seconds?Neal Sanche
05/05/2021, 2:32 PMmbonnin
05/05/2021, 2:35 PMNeal Sanche
05/05/2021, 2:37 PMmbonnin
05/05/2021, 2:47 PMNeal Sanche
05/05/2021, 2:48 PMmbonnin
05/05/2021, 3:03 PMgraphql-ws
is getting some attention lately, I know @Doug Chappelle has been looking into it too a couple of threads just above this one so looks like there might be something to do thereCONFLATED
I guess: https://github.com/apollographql/apollo-android/blob/818ff720fe982132e9e0d5bccd20e[…]llographql/apollo/network/ws/ApolloWebSocketNetworkTransport.ktNeal Sanche
05/05/2021, 4:53 PMmbonnin
05/05/2021, 4:53 PMNeal Sanche
05/05/2021, 4:55 PMmbonnin
05/05/2021, 4:56 PMSharedFlow
might be an option too, I think it didn't exist at the timeNeal Sanche
05/05/2021, 4:56 PMmbonnin
05/05/2021, 5:02 PMNeal Sanche
05/05/2021, 5:18 PMmbonnin
05/05/2021, 5:33 PMNeal Sanche
05/05/2021, 6:20 PMpublishToMavenLocal
works. Just doing that and testing a few things out here.private val messageChannel: BroadcastChannel<ByteString> = webSocketConnection.broadcast(Channel.BUFFERED)
works the way I'd expect it to. I get all of the data items delivered.mbonnin
05/05/2021, 6:48 PMApolloWebSocketNetworkTransport
? We can figure out the backpressure stuff laterNeal Sanche
05/05/2021, 7:09 PMmbonnin
05/05/2021, 8:09 PMNeal Sanche
05/05/2021, 8:12 PM