MCPcopy Create free account

hub / github.com/SugarTurboS/Sugar-Electron / functions

Functions78 in github.com/SugarTurboS/Sugar-Electron

↓ 9 callersFunctioncb
(json = {})
core/ipc/render.js:79
↓ 7 callersMethodresponse
(eventName, callback)
core/ipc/main.js:244
↓ 7 callersMethodunsubscribe
()
core/ipc/main.js:309
↓ 6 callersFunctionsend
(json = {})
core/ipc/render.js:20
↓ 5 callersMethodsubscribe
()
core/ipc/main.js:274
↓ 4 callersMethod_publisher
(params = {})
core/ipc/main.js:134
↓ 4 callersMethod_register
(name, process)
core/ipc/main.js:174
↓ 4 callersMethodrequest
(toId = '', eventName = '', data, timeout = defaultRequestTimeout)
core/ipc/main.js:197
↓ 3 callersMethod_requestResponseMessageForwarding
(params = {})
core/ipc/main.js:54
↓ 3 callersMethod_send
(params = {})
core/ipc/main.js:78
↓ 3 callersFunctioncallback
()
core/ipc/render.js:160
↓ 2 callersMethod_responseNoSerice
(header = {})
core/ipc/main.js:168
↓ 2 callersFunction_subscribe
(toId, eventName, callback)
core/ipc/render.js:173
↓ 2 callersMethod_unregister
(name)
core/ipc/main.js:178
↓ 2 callersFunction_unsubscribe
(toId = '', eventName, callback)
core/ipc/render.js:217
↓ 2 callersFunctioncreateCb
(header)
core/ipc/render.js:113
↓ 2 callersMethodgetInstance
()
core/BaseWindow/main.js:91
↓ 2 callersMethodopen
(option = {})
core/BaseWindow/main.js:60
↓ 2 callersFunctionunsubscribe
()
core/ipc/render.js:202
↓ 1 callersMethod_subscribe
(params = {})
core/ipc/main.js:95
↓ 1 callersMethod_unegister
(name)
core/windowCenter/main.js:18
↓ 1 callersMethod_unsubscribe
(params = {})
core/ipc/main.js:112
↓ 1 callersFunctionactionWindow
(windowName, action = '', args)
core/windowCenter/render.js:7
↓ 1 callersMethodgetConfig
({ useAppPathConfig, configPath })
core/config/main.js:56
↓ 1 callersFunctiongetConfigFromAppData
(useAppPathConfig)
core/config/main.js:21
↓ 1 callersFunctiongetDefaultPath
()
core/plugins/render.js:40
↓ 1 callersFunctiongetLocalBaseConfig
(configPath)
core/config/main.js:36
↓ 1 callersFunctiongetLocalConfig
(configPath, env)
core/config/main.js:45
↓ 1 callersFunctiongetProcessArgv
()
core/config/main.js:7
↓ 1 callersFunctioninitStore
(store, modules = [])
core/store/main.js:12
↓ 1 callersFunctioninstallPlugins
()
core/plugins/render.js:12
↓ 1 callersMethodinstallPlugins
()
core/plugins/main.js:4
↓ 1 callersMethodpublisher
(eventName, params = {})
core/BaseWindow/main.js:96
↓ 1 callersFunctionready
()
core/common/main.js:10
↓ 1 callersFunctionsetState
(json)
core/store/main.js:42
↓ 1 callersFunctionstart
(isDebug)
test/services/service/index.js:4
↓ 1 callersMethodstart
(isDebug)
core/service/main.js:15
Method_getSubscriberTasks
()
core/ipc/main.js:129
Method_register
(name, process)
core/windowCenter/main.js:13
FunctioncallAPI
(action, options)
test/plugins/adpter/index.js:9
Methodcallback
()
core/ipc/main.js:277
Methodcb
(json = {})
core/ipc/main.js:204
Methodconstructor
(name, runPath, isDebug = false)
core/service/main.js:7
Methodconstructor
(name, option = {})
core/BaseWindow/main.js:49
Methodconstructor
()
core/ipc/main.js:23
MethodcreateCb
(header)
core/ipc/main.js:246
FunctioncreateStore
(store = {})
core/store/main.js:65
Functiondebounce
* 防抖
core/util/index.js:38
FunctiongetModule
(moduleName, modules = [])
core/store/main.js:107
FunctiongetModule
(moduleName, modules = [])
core/store/render.js:50
FunctiongetModules
(modules = [])
core/store/main.js:87
FunctiongetModules
(modules = [])
core/store/render.js:30
FunctiongetThreadId
()
core/util/index.js:19
Functioninstall
* 安装插件,每一个自定义插件必备 * @ctx [object] 框架上下文对象{ config, ipc, store } * @params [object] 配置参数
test/plugins/adpter/index.js:7
FunctionisArray
(value)
core/util/index.js:32
FunctionisBoolean
(value)
core/util/index.js:26
MethodisInstanceExist
()
core/BaseWindow/main.js:87
FunctionisObject
(value)
core/util/index.js:29
Functionpublisher
(eventName = '', params)
core/ipc/render.js:143
Methodpublisher
(eventName = '', params)
core/ipc/main.js:270
Functionrequest
(toId = '', eventName = '', data, timeout = defaultRequestTimeout)
core/ipc/render.js:70
Methodrequest
(eventName = '', data = {}, timeout)
core/BaseWindow/main.js:101
Functionresponse
(eventName, callback)
core/ipc/render.js:111
MethodsetDefaultOption
(option)
core/BaseWindow/main.js:45
FunctionsetDefaultRequestTimeout
(timeout = 20000)
core/ipc/render.js:66
MethodsetDefaultRequestTimeout
(timeout = 20000)
core/ipc/main.js:193
FunctionsetState
()
core/store/render.js:9
Functionstart
* 启动sugar * @param option [object] 启动参数 * @param option.useAppPathConfig [boolean] 是否使用%appData%配置 * @param option.basePath [string] 启动
core/common/main.js:33
Methodstop
()
core/service/main.js:66
Functionsubscribe
(cb, modules = [])
core/store/main.js:96
Functionsubscribe
(cb, modules = [])
core/store/render.js:39
Functionsubscribe
()
core/ipc/render.js:157
Methodsubscribe
(eventName = '', callback)
core/BaseWindow/main.js:105
Functionunresponse
(eventName)
core/ipc/render.js:138
Methodunresponse
(eventName)
core/ipc/main.js:266
Functionunsubscribe
(cb, modules = [])
core/store/main.js:103
Functionunsubscribe
(cb, modules = [])
core/store/render.js:46
Methodunsubscribe
(eventName, callback)
core/BaseWindow/main.js:109