Returns the number of parallel workers configured in the current future plan.
Examples
if (FALSE) { # \dontrun{
set_parallel_plan("multisession", workers = 4)
get_n_workers() # Returns 4
set_parallel_plan("sequential")
get_n_workers() # Returns 1
} # }