public async Task StartAsync(CancellationToken cancellationToken) { //开启调度器 await schedulerCenter.StartScheduleAsync(); }
public async Task <bool> StartSchedule() { return(await _service.StartScheduleAsync()); }