[Web] Expose API to force file system sync.

This commit is contained in:
Fabio Alessandrelli
2023-01-09 21:30:42 +01:00
parent 111de09c03
commit d0ba1517a7
6 changed files with 23 additions and 0 deletions

View File

@ -47,6 +47,13 @@
If [code]use_global_execution_context[/code] 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 [File] to write files.
</description>
</method>
<method name="get_interface">
<return type="JavaScriptObject" />
<argument index="0" name="interface" type="String" />