• Cristian Maglie's avatar
    Inlining methods in ArduinoCoreServiceImpl (part 8: Monitor) · bb815cfe
    Cristian Maglie authored
    This change is quite challenging because it implements a bidirectional
    streaming service. The gRPC implementation is slightly simpler, BTW the
    command-line requires a bit of streams fiddling to get the same
    behaviour as before because now:
    
     * the Monitor call do not return anymore a clean io.ReadWriteCloser.
     * the call to srv.Monitor is blocking until the port is closed or the
       context is canceled.
    bb815cfe
service_monitor.go 9.23 KB