getResult

open fun getResult(): Class<out Effect>

Waits for the user to confirm the choice and returns the selected effect class.

Return

a future with the built effect