跳到主要内容

check_task_state

检查任务状态

声明

bool check_task_state(mixed task_id, int state)

参数

参数名描述
task_id任务ID
state任务状态

返回值

true - 任务状态匹配, false - 任务状态不匹配

使用方式

返回文档