🌈 搜索
📅  最后修改于: 2022-03-11 15:04:48.529000             🧑  作者: Mango
class AsyncWorker def initialize(&blk) @blk = Thread.new(&blk) end def call @blk.join @blk.value end end