toAfterCommandFunction

Converts after-command function metadata into an executable after-command function.

Return

The executable after-command function.

Parameters

C

The type of the command aggregate.

commandRoot

The command aggregate instance to bind the function to.