跳到主要内容

on_post_boot

注册系统事件"system_post_boot"的回调函数

声明

void on_post_boot(function func, bool call_if_exist = true)

参数

参数名描述
func回调函数
call_if_exist如果系统事件的回调函数已存在,是否覆盖并立即执行(true: 覆盖并立即执行,false: 不覆盖;默认值: false)

返回值

使用方式

返回文档