Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-946

support sleep(seconds) as static method on Object

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0-JSR-2
    • Fix Version/s: 1.0-JSR-3
    • Component/s: groovy-jdk
    • Labels:
      None

      Description

      allow at any piece of code

      sleep 5

      to sleep 5 seconds (like Ruby) ignoring InterruptedException

      in case one needs to sleep in milliseconds, the old Java version is available

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                codevise Dierk König
                Reporter:
                codevise Dierk König
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: