A command executor that can potentially block while executing the command, uses a model as input value for the handler function.
This command requires an implicit conversion from command to model to be in scope ie.: by defining it in the companion
object of the command.
newBlockingModelExecutor(handle: (S) ⇒ ModelValidation[S])(implicit T: (T) ⇒ S)
handle
The function that takes a model and returns a org.scalatra.commands.ModelValidation,
requires an implicit conversion from command to model to be in scope
A command executor that can potentially block while executing the command, uses a model as input value for the handler function. This command requires an implicit conversion from command to model to be in scope ie.: by defining it in the companion object of the command.
The type of model
The success result type
org.scalatra.commands.CommandExecutor