struct SingleConsumerQueue::QueuedCommand

Command queue for execution.

Public

Constructors

QueuedCommand

QueuedCommand(Function<void ()> &&callback = nullptr, const char *debugName = nullptr, const String &debugExtraInformation = StringUtility::kBlank)

Fields

Callback

Function<void ()> Callback

Callback associated with the command.

DebugName

const char * DebugName

Name of the command, for easier debugging.

DebugExtraInformation

const String DebugExtraInformation

Additional information for debugging.