# encoding: utf-8 $threads.getMain().getTimer().setTimeout(lambda { |params| $console.log("1s后执行的操作") }, 1000) $console.log("ruby")