Stone.js API
    Preparing search index...

    A key-route definition: which handler answers a routing key.

    interface KeyRouteDefinition {
        action?: string;
        isClass?: boolean;
        isFactory?: boolean;
        key: string;
        module: unknown;
    }
    Index
    action?: string

    The method to call for class/factory handlers (defaults to handle).

    isClass?: boolean

    Whether module is a class to resolve.

    isFactory?: boolean

    Whether module is a factory to resolve.

    key: string

    The routing key.

    module: unknown

    The handler: a function, an instance, a class or a factory.