MCPcopy Create free account
hub / github.com/apitable/apitable / on

Method on

packages/widget-sdk/src/message/event_message.ts:27–29  ·  view source on GitHub ↗
(type: MessageType, callback: (data: IResponse<any>) => void, key: string)

Source from the content-addressed store, hash-verified

25 }
26
27 on(type: MessageType, callback: (data: IResponse<any>) => void, key: string) {
28 this.messageBridge.on(type, callback, key);
29 }
30
31 removeListenEvent(widgetId: string, type: MessageType) {
32 this.messageBridge.removeListenEvent(type, widgetId);

Callers 6

onSyncActionMethod · 0.95
onRefreshWidgetMethod · 0.95
onFetchDatasheetMethod · 0.95
syncCmdMethod · 0.95
onSyncCmdOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected