Add API wait function, Update ReadMe file #15

Merged
MrKBear merged 6 commits from dev-mrkbear into master 2021-12-31 17:18:17 +08:00
3 changed files with 7 additions and 3 deletions
Showing only changes of commit 9543fa8409 - Show all commits

View File

@ -85,4 +85,8 @@
4. 为保证 CI/CD提交代码前必须保证编译可以通过
5. 一个文件不要超过 1000 行代码,尽量保证代码可读性
5. 一个文件不要超过 1000 行代码,尽量保证代码可读性
## 贡献者
@MrKBear (熊鲜森)

View File

@ -181,7 +181,7 @@ class API<I extends IAnyData, O extends IAnyData> extends Emitter<IAPIEvent<I, O
/**
*
*/
public initLabel(key: string) {
public initDebugLabel(key: string) {
this.key = key;
this.LogLabel = new LogLabel(
`API:${ this.key }`, colorRadio(200, 120, 222)

View File

@ -42,7 +42,7 @@ implements Partial<ILifetime> {
public constructor() {
super();
this.initLabel("TestApi");
this.initDebugLabel("TestApi");
}
}