Stone.js API
    Preparing search index...
    • A class decorator for defining an event handler group.

      Type Parameters

      • T extends ClassType = ClassType

      Parameters

      • path: string = '/'

        The base path for the group of routes.

      • Optionaloptions: EventHandlerOptions

        Optional configuration for the route group.

      Returns ClassDecorator

      A class decorator configured for a group of routes.

      @EventHandler('/users')
      class UserHandler {
      // Grouped route handlers
      }