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

support sleep(seconds) as static method on Object

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-JSR-2
    • 1.0-JSR-3
    • groovy-jdk
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: