mirror of
https://github.com/syuilo/ai.git
synced 2024-11-22 05:08:00 +00:00
Update module.ts
This commit is contained in:
parent
3d467c2629
commit
ab4fbb2e33
|
@ -19,12 +19,12 @@ export default abstract class Module {
|
||||||
}
|
}
|
||||||
|
|
||||||
@autobind
|
@autobind
|
||||||
public subscribeReply(key: string, isMessage: boolean, id: string, data?: any) {
|
protected subscribeReply(key: string, isMessage: boolean, id: string, data?: any) {
|
||||||
this.ai.subscribeReply(this, key, isMessage, id, data);
|
this.ai.subscribeReply(this, key, isMessage, id, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@autobind
|
@autobind
|
||||||
public unsubscribeReply(key: string) {
|
protected unsubscribeReply(key: string) {
|
||||||
this.ai.unsubscribeReply(this, key);
|
this.ai.unsubscribeReply(this, key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue