function saveState(name, value) {
    command_1.issueCommand('save-state', { name }, value);
}
Saves state for current action, the state can only be retrieved by this action's post job execution.

@param     name     name of the state to store
@param     value    value to store. Non-string values will be converted to a string via JSON.stringify