Class GatewayCommandDispatcher
Shared command fast-path parser/executor for gateway channels. Keeps command dispatch logic centralized so channel adapters and bridge integrations can reuse one source of truth.
public static class GatewayCommandDispatcher
- Inheritance
-
GatewayCommandDispatcher
- Inherited Members
Methods
TryDispatchAsync(ICommandRegistry?, string, string, string, string, string?, CancellationToken)
public static Task<CommandDispatchResult> TryDispatchAsync(ICommandRegistry? commandRegistry, string channelType, string message, string invokerId, string channelId, string? invokerDisplayName = null, CancellationToken ct = default)
Parameters
commandRegistryICommandRegistrychannelTypestringmessagestringinvokerIdstringchannelIdstringinvokerDisplayNamestringctCancellationToken