authoredState.module
This package holds more than this page lists. See all of its files in its world.
README.md
scene_saver.authoredState
The authored pass's hold on a scene folder, and the commits over a capture that record a scene's save point and take it back there.
ownersholds the coroutine making an authored pass over each scene folder, by folder path;busy(folder)answers whether that pass is still running (a pass whose coroutine reads dead is over, and the folder is let go), andhold(folder, work)runswork(folder)as the folder's authored pass once the running one has ended.commitOverCapture(folder, prepare)captures the folder, prepares one plan over the capture and commits it, capturing again when another write landed in between; a plan that is not ready or changes nothing comes back uncommitted.recordSavePoint(folder)records a scene's accepted authored state as its save point and returns once the save point file reads as written.RESOLVERSare the component identity resolvers an authored composition reads.
local AuthoredState = require("@builtin::assetTypes.scene.shared.saver.authoredState")
print(AuthoredState.busy("/zero/source/scenes/main.scene"))