jstests/replsets/txn_override_unittests.js
/**
 * Sets the provided function as the post-command function for the given command.
 */
Sets the provided function as the post-command function for the given command.
Sets the provided function as the post - command function for the given command .
function attachPostCmdFunction(cmdName, func) {
    assert(!runCommandOverrideDenylistedCommands.includes(cmdName));
    postCommandFuncs[cmdName] = func;
}
function attachPostCmdFunction ( cmdName , func ) { assert ( ! runCommandOverrideDenylistedCommands . includes ( cmdName ) ) ; postCommandFuncs [ cmdName ] = func ; }
Sets the provided function as the post-command function for the given command.
Sets the provided function as the post - command function for the given command .