• No, that's not it.

    The lines are in the example on your site and I just left them in.
    https://www.espruino.com/Puck.js+Controlling+Other+Pucks

    To be sure I removed them but it makes no difference. Output with the setInterval:

    RX  D07-06-2020 12.23
    RX  SAAPL,311.01,+11.5%
    RX  SASML,299.45,-4.5%
    RX  Hottentottententente
    RX  Quit
    Quit received, disconnecting now
    Getting data now
    Done!
    RX  D07-06-2020 12.23
    RX  SAAPL,311.01,+11.5%
    RX  SASML,299.45,-4.5%
    RX  Hottentottententente
    RX  D07-06-2020 12.23
    RX  SAAPL,311.01,+11.5%
    RX  SASML,299.45,-4.5%
    RX  Hottentottententente
    RX  D07-06-2020 12.23
    RX  SAAPL,311.01,+11.5%
    RX  SASML,299.45,-4.5%
    RX  Hottentottententente
    RX  D07-06-2020 12.23
    RX  SAAPL,311.01,+11.5%
    RX  SASML,299.45,-4.5%
    RX  Hottentottententente
    RX  Quit
    Quit received, disconnecting now
    Getting data now
    Uncaught Error: Unhandled promise rejection: Disconnected
    > 
    
    

    I think I'm getting close to a "perfect" solution and in hindsite it will be a simple obvious mistake on my part. I catching up my reading om "promises" so at least I'm learning here, that's what it's all about, right!?

    Appreciate your tireless help!

About

Avatar for gerardwr @gerardwr started