Skip to content

Worker

Worker不应该自己管理资源的生命周期

当然这也只是我的理解,你想怎么玩就怎么玩

getRes

作用

获取要操作的资源

initialize

update

cleanup