考慮移除 sched #279
Labels
dependencies
Pull requests that update a dependency file
optimization
Optimization for existing code
Milestone
Nonrbot 可選的內置了一個 APSCHEDULER 的子類,其行為和父類的完全一致並且默認會在 Nonrbot 加載時創建。
現在我們考慮在未來的版本中移除對這個功能的支持,原因如下:
scheduler
賦值成一個AsyncScheduler
對象或None
。這個寫法對類型檢查和 ide 極度不友好,即使用戶安裝了 Apscheduler現在徵求大家的意見,歡迎評論。
如果沒有異議,我計劃:
start_scheduler
的默認值會改為False
The text was updated successfully, but these errors were encountered: