IGraphicScene添加订阅方法

This commit is contained in:
fan 2023-08-31 17:43:29 +08:00
parent 7e9c9eb311
commit e5608273ac

View File

@ -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