跳到主要内容

start_co_entry_queue

开启协程(队列处理)

声明

bool start_co_entry_queue(function func, int timeout = 5)

参数

参数名描述
func处理函数,有消息才会触发函数调用
timeout轮询间隔,默认为5秒

返回值

bool

使用方式

返回文档