@predy-js/render-interface 0.3.0-beta.239 → 0.3.0-beta.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/statistic.js
CHANGED
@@ -80,6 +80,11 @@ export interface PredyNativeInternal {
|
|
80
80
|
* @param method
|
81
81
|
*/
|
82
82
|
inflateData(data: Uint8Array, method: DataCompressMethod): Uint8Array | undefined;
|
83
|
+
/**
|
84
|
+
* 恢复当前的主JSContext,多个JSContext执行的时候会发生抢占,
|
85
|
+
* 调用此函数后,当前的JSContext会被恢复
|
86
|
+
*/
|
87
|
+
restoreJSContext(): boolean;
|
83
88
|
}
|
84
89
|
type renderSDFImageCallback = (img: SDFImage) => void;
|
85
90
|
export {};
|
package/package.json
CHANGED
@@ -103,6 +103,12 @@ export interface PredyNativeInternal {
|
|
103
103
|
* @param method
|
104
104
|
*/
|
105
105
|
inflateData(data: Uint8Array, method: DataCompressMethod): Uint8Array | undefined,
|
106
|
+
|
107
|
+
/**
|
108
|
+
* 恢复当前的主JSContext,多个JSContext执行的时候会发生抢占,
|
109
|
+
* 调用此函数后,当前的JSContext会被恢复
|
110
|
+
*/
|
111
|
+
restoreJSContext(): boolean,
|
106
112
|
}
|
107
113
|
|
108
114
|
type renderSDFImageCallback = (img: SDFImage) => void;
|