Handles router-related commands by interacting with the Router instance.
Initializes a new instance of RouterCommand.
RouterCommand
The dependency injection container for resolving the Router instance.
If the container is not provided.
Processes an incoming event and executes the specified router action.
The event containing metadata for router actions.
A promise resolving to an OutgoingResponse.
OutgoingResponse
Handles router-related commands by interacting with the Router instance.