invoke
Triggers the appropriate hook based on the executor result.
Parameters
plan
The plan associated with the hook.
hook
The hook to be triggered.
result
The result of the executor's operation.
Triggers the appropriate hook based on the executor result.
The plan associated with the hook.
The hook to be triggered.
The result of the executor's operation.