summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-01-09 21:18:47 +0100
committerGitHub <noreply@github.com>2023-01-09 21:18:47 +0100
commit6b2abf4605dde65d58427df3317d104daebd5bda (patch)
treecf61367bd83e07a16b2e6260d6565f75dfa6c6ca /doc
parentf5f7d11ac47244e4cc02cd7336ba86e0ed272dc3 (diff)
parent615fd98620d577c82ed9d99fd51ceeee714430ba (diff)
Merge pull request #70626 from Faless/web/4.x_expose_force_fs_sync
[Web] Expose API to force file system sync.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/JavaScriptBridge.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/JavaScriptBridge.xml b/doc/classes/JavaScriptBridge.xml
index 5e36b5cc80..340c296eef 100644
--- a/doc/classes/JavaScriptBridge.xml
+++ b/doc/classes/JavaScriptBridge.xml
@@ -46,6 +46,13 @@
If [param use_global_execution_context] is [code]true[/code], the code will be evaluated in the global execution context. Otherwise, it is evaluated in the execution context of a function within the engine's runtime environment.
</description>
</method>
+ <method name="force_fs_sync">
+ <return type="void" />
+ <description>
+ Force synchronization of the persistent file system (when enabled).
+ [b]Note:[/b] This is only useful for modules or extensions that can't use [FileAccess] to write files.
+ </description>
+ </method>
<method name="get_interface">
<return type="JavaScriptObject" />
<param index="0" name="interface" type="String" />