OnStreamPushEventType typedef

OnStreamPushEventType = void Function(StreamSinglePushEvent eventType, String taskId, int error)

eventType:任务状态

taskId:任务 ID

error:错误码

Implementation

typedef OnStreamPushEventType = void Function(
    StreamSinglePushEvent eventType, String taskId, int error);