https://kotlinlang.org logo
#flow
Title
# flow
m

Michael Granger

06/07/2022, 8:41 PM
Does anyone know any any example code for hooking up Channels/Flows to a socket? I.e., I have a socket in a WearOS 3 app I want to wrap in a receive Channel that is a producer for various flows in viewmodels, and a send channel that the viewmodels can use in callbacks.
For posterity, I figured it out. ByteBuffer is my new favorite class.
3 Views