How to use the @hpcc-js/comms.WUStateID.Compiled function in @hpcc-js/comms

To help you get started, we’ve selected a few @hpcc-js/comms examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hpcc-systems / Visualization / packages / eclwatch / src / WUStatus.ts View on Github external
update(domNode, element) {
        this.attachWorkunit();
        switch (this._wu.StateID) {
            case WUStateID.Blocked:
            case WUStateID.Wait:
            case WUStateID.Scheduled:
            case WUStateID.UploadingFiled:
                this.updateVertexStatus(1);
                break;
            case WUStateID.Compiling:
                this.updateVertexStatus(2, true);
                break;
            case WUStateID.Submitted:
                this.updateVertexStatus(1, true);
                break;
            case WUStateID.Compiled:
                this.updateVertexStatus(2);
                break;
            case WUStateID.Aborting:
            case WUStateID.Running:
                this.updateVertexStatus(3, true);
                break;
            case WUStateID.Aborted:
            case WUStateID.Archived:
            case WUStateID.Completed:
                this.updateVertexStatus(4);
                break;
            case WUStateID.Failed:
                this.updateVertexStatus(4, false);
                break;
            case WUStateID.DebugPaused:
            case WUStateID.DebugRunning:
github hpcc-systems / HPCC-Platform / esp / src / src / WUStatus.ts View on Github external
update(domNode, element) {
        this.attachWorkunit();
        switch (this._wu.StateID) {
            case WUStateID.Blocked:
            case WUStateID.Wait:
            case WUStateID.Scheduled:
            case WUStateID.UploadingFiled:
                this.updateVertexStatus(1);
                break;
            case WUStateID.Compiling:
                this.updateVertexStatus(2, true);
                break;
            case WUStateID.Submitted:
                this.updateVertexStatus(1, true);
                break;
            case WUStateID.Compiled:
                this.updateVertexStatus(2);
                break;
            case WUStateID.Aborting:
            case WUStateID.Running:
                this.updateVertexStatus(3, true);
                break;
            case WUStateID.Aborted:
            case WUStateID.Archived:
            case WUStateID.Completed:
                this.updateVertexStatus(4);
                break;
            case WUStateID.Failed:
                this.updateVertexStatus(4, false);
                break;
            case WUStateID.DebugPaused:
            case WUStateID.DebugRunning: