Dash can custom backgroud callback in slurm

For some tasks with large memory and running time, can the background callback be used to deliver the task through slurm?