• Type Parameters

    • T

    Parameters

    Returns ((...args: []) => Guarded<{
        getRoutes(addr: string): [string, T][];
        register(prefix: string, route: T): void;
        unregister(prefix: string, route: T): void;
    }>)

      • (...args): Guarded<{
            getRoutes(addr: string): [string, T][];
            register(prefix: string, route: T): void;
            unregister(prefix: string, route: T): void;
        }>
      • Parameters

        • Rest...args: []

        Returns Guarded<{
            getRoutes(addr: string): [string, T][];
            register(prefix: string, route: T): void;
            unregister(prefix: string, route: T): void;
        }>