This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

system pause  RSS feed

 
Andrew Lit
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
is it possible somehow to stop method execution for a while and than continue with the proceeded?
thank you
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Andrew Lit:
hi,
is it possible somehow to stop method execution for a while and than continue with the proceeded?
thank you

Yes. Take a look at Thread.sleep().
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!