Stone.js API
    Preparing search index...

    Handles router-related commands by interacting with the Router instance.

    Index
    • Initializes a new instance of RouterCommand.

      Parameters

      • container: IContainer

        The dependency injection container for resolving the Router instance.

      Returns RouterCommand

      If the container is not provided.

    • Processes an incoming event and executes the specified router action.

      Parameters

      • event: IncomingEvent

        The event containing metadata for router actions.

      Returns Promise<void>

      A promise resolving to an OutgoingResponse.