SboxSuperuser/Engine/ChatIntegration/IChatCommandIngress.cs

Interface for chat command ingress. Declares methods to check if a message belongs to this command handler and to execute the command asynchronously given an authenticator, message, request id, and cancellation token.

namespace SboxSuperuser.Engine.ChatIntegration;

internal interface IChatCommandIngress
{
	bool Owns( string message );
	Task<CommandResult> ExecuteAsync( Func<ActorIdentity> authenticate, string message, Guid requestId, CancellationToken cancellation );
}