OptionaltimesTotal number of times that a route handler will be run when the URL pattern matcher is a hit.
OptionaltypeDefines the behaviour of the route handler.
server-only - The route handler will only be called if the request is executed on the server.client-only - The route handler will only be called if the request is executed on the client.both - The route handler will be called regardless of whether the request is executed on the server or client.
Options when configuring a route