User Tools

Site Tools


savefileserializationrequestedasynctopic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
savefileserializationrequestedasynctopic [2026/04/26 06:52] divinersavefileserializationrequestedasynctopic [2026/04/26 07:23] (current) diviner
Line 2: Line 2:
 ===== SaveFileSerializationRequestedAsyncTopic ===== ===== SaveFileSerializationRequestedAsyncTopic =====
  
 +^Type | [[AsyncTopic]] |
 ^Payload | [[ValueMessage]]<string, [[Chunk]][]> | ^Payload | [[ValueMessage]]<string, [[Chunk]][]> |
 ^Broadcaster | [[ISceneLoadingService]] | ^Broadcaster | [[ISceneLoadingService]] |
  
 This topic is broadcast from the [[ISaveGameService]] when a save file begins serializing the current game state into a save file. The architecture of the services makes it possible to only serialize the Chunks that are currently active in memory, without modifying other already serialized Chunks. The payload's value carries the path of the save file on disk and the array of Chunks that were serialized by this operation. This is an Async Topic whose callbacks can be long running Tasks. The service will await for all listeners to complete executing their callbacks before resuming the operation. This topic is broadcast from the [[ISaveGameService]] when a save file begins serializing the current game state into a save file. The architecture of the services makes it possible to only serialize the Chunks that are currently active in memory, without modifying other already serialized Chunks. The payload's value carries the path of the save file on disk and the array of Chunks that were serialized by this operation. This is an Async Topic whose callbacks can be long running Tasks. The service will await for all listeners to complete executing their callbacks before resuming the operation.
savefileserializationrequestedasynctopic.txt · Last modified: by diviner

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki