Add sleep(x) to ShellApi object

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.7.7
    • Affects Version/s: None
    • Component/s: Shell API
    • 1
    • Iteration Star Apple
    • Needed
    • Hide

      sleep will be a blocking function (i.e. work like it does in the old shell)

      Show
      sleep will be a blocking function (i.e. work like it does in the old shell)

      Since there's no top-level await in the shell, if someone wants to have a blocking sleep call we need to implement it with returnsPromise so it actually blocks.

       

              Assignee:
              Anna Henningsen
              Reporter:
              Anna Herlihy (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: