onStart

abstract fun onStart(action: (NewScriptThread) -> Unit)

当一个新的线程启动(start)时会调用此回调函数

Receiver

Parameters

action

需要执行的函数