ComponentWithAction

constructor(timeoutTask: Task?, modal: () -> M? = null)

Parameters

E

Event type that triggers interaction actions for this component type

C

Context type used for this component's execution context

M

Modal form type representing the ModalForm subtype used, if any.

timeoutTask

Timeout task that will be restarted when call is run, if any. This is intended to be used to in the timeout mechanism for the ComponentContainer that contains this component.

modal

Callback returning a ModalForm object, probably the constructor of a subtype.