resolveSuspend

open suspend fun resolveSuspend(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 suspend fun resolveSuspend(event: ModalEvent, modalMapping: ModalMapping): R?(source)

Deprecated

Added a TimeoutOption parameter