resolve

open fun resolve(option: ModalOption, event: ModalEvent, modalMapping: ModalMapping): R?(source)

Returns a resolved object for this ModalMapping.

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

Parameters

option

The option currently being resolved

event

The corresponding event

modalMapping

The ModalMapping to be resolved


open fun resolve(event: ModalEvent, modalMapping: ModalMapping): R?(source)

Deprecated

Added a TimeoutOption parameter