Appearance
Worker不应该自己管理资源的生命周期
Worker
当然这也只是我的理解,你想怎么玩就怎么玩
getRes
获取要操作的资源
initialize
update
cleanup