Platform
Platform抽象了底层接口,隐藏了实现细节,将干净的API引入NC,而其他东西则依赖于框架。
Platform有两个API,use()API与运行时API。
use()
Use API
platform.use(nc)
nc
NC
undefinded
platform.createRuntime(id)
id
Runtime