Struct ChunkLoadResult
Describes how a chunk became available to the runtime.
public readonly record struct ChunkLoadResult : IEquatable<ChunkLoadResult>
- Implements
- Inherited Members
Constructors
ChunkLoadResult(Chunk, bool, bool, bool)
Describes how a chunk became available to the runtime.
public ChunkLoadResult(Chunk Chunk, bool WasLoadedFromMemory, bool WasLoadedFromDisk, bool WasCreatedNew)
Parameters
ChunkChunkThe resolved chunk instance.
WasLoadedFromMemoryboolWhether the chunk was already available in memory.
WasLoadedFromDiskboolWhether the chunk payload was loaded from persistent storage.
WasCreatedNewboolWhether the chunk had to be created as a new empty chunk.
Properties
Chunk
The resolved chunk instance.
public Chunk Chunk { get; init; }
Property Value
WasCreatedNew
Whether the chunk had to be created as a new empty chunk.
public bool WasCreatedNew { get; init; }
Property Value
WasLoadedFromDisk
Whether the chunk payload was loaded from persistent storage.
public bool WasLoadedFromDisk { get; init; }
Property Value
WasLoadedFromMemory
Whether the chunk was already available in memory.
public bool WasLoadedFromMemory { get; init; }