core / pragma.jobs / RunForeverJob / startIfNotRunning /

startIfNotRunning #

fun startIfNotRunning()

Starts the job if it isn’t already running. Safe to call repeatedly, including concurrently: only one job is ever active at a time