nanos world API Reference Unofficial documentation
Static function Shared Slow

Package.FlushPersistentData

Flushes the Persistent Data pending changes to disk immediately. Note: this operation is already performed automatically under the hood, it is not necessary to keep always flushing and should only be used when really needed, as disk writing is a slow operation

Syntax

Lua
Package.FlushPersistentData()