MCPcopy Create free account
hub / github.com/esengine/esengine / subscribe

Method subscribe

packages/editor-app/src/services/tokens.ts:92–92  ·  view source on GitHub ↗

订阅数据更新 | Subscribe to data updates

(callback: (data: ProfilerData) => void)

Source from the content-addressed store, hash-verified

90
91 /** 订阅数据更新 | Subscribe to data updates */
92 subscribe(callback: (data: ProfilerData) => void): () => void;
93
94 /** 订阅高级数据更新 | Subscribe to advanced data updates */
95 subscribeAdvanced(callback: (data: AdvancedProfilerDataPayload) => void): () => void;

Callers 15

AppFunction · 0.65
initializeEditorFunction · 0.65
SceneHierarchyFunction · 0.65
TitleBarFunction · 0.65
MainToolbarFunction · 0.65
MenuBarFunction · 0.65
OutputLogPanelFunction · 0.65
ContentBrowserFunction · 0.65
ViewportFunction · 0.65
StatusBarFunction · 0.65
InspectorFunction · 0.65

Implementers 1

ProfilerServicepackages/editor-app/src/services/Profi

Calls

no outgoing calls

Tested by

no test coverage detected