resolve

open fun resolve(option: TimeoutOption, arg: String): R?(source)

Returns a resolved object for this argument.

If this returns null, and the parameter is required, i.e., not nullable or optional, the handler is ignored.

Parameters

option

The option currently being resolved

arg

The argument to be resolved


open fun resolve(arg: String): R?(source)

Deprecated

Added a TimeoutOption parameter