https://kotlinlang.org logo
#coroutines
Title
# coroutines
k

kevinherron

09/06/2017, 3:34 PM
i have a project i’d like to prototype using the I/O library once there’s a socket backend
o

orangy

09/06/2017, 4:07 PM
Can you share the basic idea? Just so we may have a little bit more use cases while designing it all
k

kevinherron

09/06/2017, 4:20 PM
i’m going to implement a comms protocol with it. something similar to this: https://github.com/digitalpetri/modbus
except written purely in kotlin instead of Java+netty
and actually version 2.0 of that library may eventually be rewritten in kotlin + coroutines + io
depends if i can create a serial backend for these IO abstractions
b

bamdmux

09/07/2017, 5:44 AM
I'd also use this library for hardware debug/service. The use case is an android device which can connect through usb/serial or wifi to the hardware, atm we use okio/rxjava but only on usb serial devices
3 Views