Modal Parameter Resolver
interface ModalParameterResolver<T : ParameterResolver<T, R>, ModalParameterResolver<T, R>, R : Any> : IParameterResolver<T> (source)
Parameter resolver for parameters of @ModalHandler.
Needs to be implemented alongside a ParameterResolver subclass.
Parameters
T
Type of the implementation
R
Type of the returned resolved objects
Functions
Link copied to clipboard
Returns a resolved object for this ModalMapping.
Link copied to clipboard
open suspend fun resolveSuspend(option: ModalOption, event: ModalEvent, modalMapping: ModalMapping): R?
Returns a resolved object for this ModalMapping.