withHook
Perform the given action with the given SpringApplicationHook attached if the action triggers an application run.
Since
3.0.0
Parameters
hook
the hook to apply
action
the action to run
See also
Perform the given action with the given SpringApplicationHook attached if the action triggers an application run.
Return
the result of the action
Since
3.0.0
Parameters
<T>
the result type
hook
the hook to apply
action
the action to run