Add API wait function, Update ReadMe file #15
@ -85,4 +85,8 @@
|
||||
|
||||
4. 为保证 CI/CD,提交代码前必须保证编译可以通过
|
||||
|
||||
5. 一个文件不要超过 1000 行代码,尽量保证代码可读性
|
||||
5. 一个文件不要超过 1000 行代码,尽量保证代码可读性
|
||||
|
||||
## 贡献者
|
||||
|
||||
@MrKBear (熊鲜森)
|
@ -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)
|
||||
|
@ -42,7 +42,7 @@ implements Partial<ILifetime> {
|
||||
|
||||
public constructor() {
|
||||
super();
|
||||
this.initLabel("TestApi");
|
||||
this.initDebugLabel("TestApi");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user