src/js/sample_analyses/datatraces/TraceWriter.js
function tryRemoteLog2() {
            trying = false;
            remoteBuffer.shift();
            if (remoteBuffer.length === 0) {
                if (cb) {
                    cb();
                    cb = undefined;
                }
            }
            tryRemoteLog();
        }
function tryRemoteLog2() {
            trying = false;
            remoteBuffer.shift();
            if (remoteBuffer.length === 0) {
                if (cb) {
                    cb();
                    cb = undefined;
                }
            }
            tryRemoteLog();
        }
function tryRemoteLog2 ( ) { trying = false ; remoteBuffer . shift ( ) ; if ( remoteBuffer . length === 0 ) { if ( cb ) { cb ( ) ; cb = undefined ; } } tryRemoteLog ( ) ; }
invoked when we receive a message over the websocket,
indicating that the last trace chunk in the remoteBuffer
has been received
invoked when we receive a message over the websocket indicating that the last trace chunk in the remoteBuffer has been received