Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

弃用无 receiver 的事件扩展函数, 增加其 EventChannel receiver 版本替换 #1754

Merged
merged 3 commits into from
Jan 20, 2022

Conversation

Him188
Copy link
Member

@Him188 Him188 commented Dec 22, 2021

#1827 Part 2.10

@Him188 Him188 added t:feature 类型: 新特性 N 优先级: 一般 labels Dec 22, 2021
@Him188 Him188 added this to the 2.10.0-RC milestone Dec 22, 2021
@Him188 Him188 changed the title 弃用无 receiver 的事件扩展函数, 增加其 EventChannel receiver 版本替换 弃用无 receiver 的事件扩展函数, 增加其 EventChannel receiver 版本替换, 同时删除 timeout 参数 Jan 6, 2022
@Him188 Him188 changed the title 弃用无 receiver 的事件扩展函数, 增加其 EventChannel receiver 版本替换, 同时删除 timeout 参数 弃用无 receiver 的事件扩展函数, 增加其 EventChannel receiver 版本替换 Jan 6, 2022
@Him188 Him188 added the x:behavior-change 属性: 行为变更 (API 不变, 行为改变) label Jan 6, 2022
@Him188 Him188 force-pushed the event-channel-utils branch 5 times, most recently from fc6f8ab to 731557a Compare January 6, 2022 03:09
@Him188 Him188 marked this pull request as ready for review January 6, 2022 03:48
@Him188 Him188 requested a review from Karlatemp January 6, 2022 03:48
…cFromEvent*`. Add their `EventChannel`-receiver counterparts. #1827
@Him188 Him188 merged commit 701039e into dev Jan 20, 2022
@Him188 Him188 deleted the event-channel-utils branch January 20, 2022 10:15
@Him188 Him188 added x:deprecation 属性: API 弃用 and removed x:behavior-change 属性: 行为变更 (API 不变, 行为改变) labels Feb 19, 2022
strear pushed a commit to strear/mirai that referenced this pull request Feb 21, 2022
* Deprecate no-receiver functions `nextEvent*`, `syncFromEvent*`, `asyncFromEvent*`. Add their `EventChannel`-receiver counterparts. mamoe#1827

* Fix migration

* Migrate `nextMessage` to new API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
N 优先级: 一般 t:feature 类型: 新特性 x:deprecation 属性: API 弃用
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants