Struct CommandCompletion
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
The success value of an ordered command, which its task holds once the command committed. A failed or cancelled command faults its task with a MaplibreException that carries its status, diagnostic, and generation instead.
public readonly record struct CommandCompletion : IEquatable<CommandCompletion>
- Implements
- Inherited Members
Constructors
CommandCompletion(ulong, ulong)
The success value of an ordered command, which its task holds once the command committed. A failed or cancelled command faults its task with a MaplibreException that carries its status, diagnostic, and generation instead.
public CommandCompletion(ulong Generation, ulong RenderUpdateGeneration)
Parameters
GenerationulongThe map snapshot generation that the command published, or zero for a command that is not a map command.
RenderUpdateGenerationulongThe first map render update that includes the command, or zero when
Generationis zero.
Properties
Generation
The map snapshot generation that the command published, or zero for a command that is not a map command.
public ulong Generation { get; init; }
Property Value
RenderUpdateGeneration
The first map render update that includes the command, or zero when
Generation is zero.
public ulong RenderUpdateGeneration { get; init; }