abstract fun submit(actionClass: Class<out Runnable>, configAction: Action<in WorkerConfiguration>): Unit
Submits a piece of work to be executed asynchronously. Execution of the work may begin immediately. Work configured with IsolationMode#PROCESS
will execute in an idle daemon that meets the requirements set in the WorkerConfiguration. If no idle daemons are available, a new daemon will be started. Any errors will be thrown from #await()
or from the surrounding task action if #await()
is not used.