Merge documentation files

This commit is contained in:
2022-05-27 03:58:05 +08:00
parent 639194671b
commit 66631ffed4
3 changed files with 6 additions and 4 deletions

View File

@@ -64,7 +64,7 @@
> 你大概率会遇到浏览器缓存造成文档不是最新版本的问题,若已经查看过一次文档,请手动在每个页面上刷新一次以同步最新版本,或清除浏览器缓存。
The latest version update time/最新版本更新时间2022-05-27 03:12
The latest version update time/最新版本更新时间2022-05-27 03:57
## Contacts

View File

@@ -12,7 +12,7 @@
- 方便移植 快速上手
<font size=3 style="opacity: 0.6">`更新时间 2022-05-27 03:12`</font>
<font size=3 style="opacity: 0.6">`更新时间 2022-05-27 03:57`</font>
[GitHub](https://github.com/fankes/YukiHookAPI)
[Get Started](#介绍)

View File

@@ -532,8 +532,10 @@ class MyApplication : Application() {
override fun attachBaseContext(base: Context?) {
YukiHookAPI.encase(base) {
// ❗不能在这种情况下使用 channel
channel.get("test_data", "default_data")
// ❗不能在这种情况下使用 dataChannel
dataChannel.wait(key = "test_data") {
// ...
}
}
super.attachBaseContext(base)
}