InputHandler

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class InputHandler(val value: Array<String>, val rateLimits: RateLimits = RateLimits(0, 0), val guard: KClass<out Guard> = DefaultGuard::class)

The annotation used to denote the function used to process the specified I/O event.

Properties

Link copied to clipboard
val guard: KClass<out Guard>

Guard condition that will be checked.

Link copied to clipboard

Query limits for this particular command.

Link copied to clipboard

Keywords of the input.