Sleep Module for mruby¶
mruby sleep module
Install by mrbgems¶
- add
conf.gem
line to your build configuration.
MRuby::Build.new do |conf|
# ... (snip) ...
conf.gem :core => 'mruby-sleep'
end
Example¶
sleep(10)
usleep(10000)
License¶
under the MIT License: