Create guardrails for parallel shells against awaiting twice

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • None
    • Server Tooling & Methods
    • 40
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, startParallelShell's returned await function can be called again, and multiple calls trip an invariant because the PID is no longer registered. This is expected, but we can make the error clearer by throwing a js-side exception.

      We could store a variable as a property of the function, accessed through arguments.callee to determine whether the function has been called before.

            Assignee:
            Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            Raiden Worley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: