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

Method syncAction

packages/widget-sdk/src/message/event_message.ts:54–56  ·  view source on GitHub ↗
(action: AnyAction, widgetId?: string)

Source from the content-addressed store, hash-verified

52 }
53
54 syncAction(action: AnyAction, widgetId?: string) {
55 this.emit(MessageType.MAIN_SYNC_ACTION, action, widgetId);
56 }
57
58 onSyncAction(widgetId: string, callback: (res: AnyAction, messageId?: string) => void) {
59 this.on(MessageType.MAIN_SYNC_ACTION, interceptor(callback), widgetId);

Callers

nothing calls this directly

Calls 1

emitMethod · 0.95

Tested by

no test coverage detected