File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ LLSE provides the interface import to import functions already exported by other
118118- Return value: The imported function
119119- Return value type: ` Function `
120120
121- The return value of ` ll.import ` is a function. When you call this function, the cross-plugin call process will be done
121+ The return value of ` ll.imports ` is a function. When you call this function, the cross-plugin call process will be done
122122automatically in the background. The parameters of the calling function will be wrapped and passed to the remote
123123function, and the return value of this function is the return value returned by the remote function after it has been
124124executed.
@@ -127,7 +127,7 @@ executed.
127127
128128For example, there is a plug-in that exports a function using the namespace AAA, and the name of the exported function
129129is Welcome
130- You can execute ` welcome = ll.import ("AAA", "Welcome"); ` to import this function. After the import is complete, you can
130+ You can execute ` welcome = ll.imports ("AAA", "Welcome"); ` to import this function. After the import is complete, you can
131131execute directly below:
132132
133133` welcome("hello",2,true); `
Original file line number Diff line number Diff line change 110110- 返回值:导入的函数
111111- 返回值类型: ` Function `
112112
113- ` ll.import ` 的返回值是一个函数。当你调用这个函数时,跨插件调用的流程将在后台自动完成。调用函数的参数将被包装并传递给远程函数,此函数的返回值即是远程函数执行完毕之后返回的返回值。
113+ ` ll.imports ` 的返回值是一个函数。当你调用这个函数时,跨插件调用的流程将在后台自动完成。调用函数的参数将被包装并传递给远程函数,此函数的返回值即是远程函数执行完毕之后返回的返回值。
114114
115115#### 远程调用参数类型对照,其中Type可以为其他受支持的类型
116116
135135#### 远程调用函数举例说明
136136
137137比如,有一个插件导出了某个函数,函数导出使用的命名空间为 AAA,导出函数名称为 Welcome
138- 当你使用 ` welcome = ll.import ("AAA","welcome"); ` 完成导入之后,你就可以直接在下面执行:
138+ 当你使用 ` welcome = ll.imports ("AAA","welcome"); ` 完成导入之后,你就可以直接在下面执行:
139139
140140` welcome("hello",2,true); `
141141
You can’t perform that action at this time.
0 commit comments