IGraphicScene添加订阅方法
This commit is contained in:
parent
7e9c9eb311
commit
e5608273ac
@ -523,6 +523,14 @@ export interface IGraphicScene extends EventEmitter<GraphicAppEvents> {
|
|||||||
* 销毁
|
* 销毁
|
||||||
*/
|
*/
|
||||||
destroy(): void;
|
destroy(): void;
|
||||||
|
/**
|
||||||
|
* 订阅websocket消息
|
||||||
|
*/
|
||||||
|
subscribe(sub: AppStateSubscription): void;
|
||||||
|
/**
|
||||||
|
* 取消websocket订阅
|
||||||
|
*/
|
||||||
|
unsubscribe(destination: string): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class GraphicSceneBase
|
abstract class GraphicSceneBase
|
||||||
|
Loading…
Reference in New Issue
Block a user