stop

open override fun stop(): Boolean(source)

Stop the processing cycle, allowing in-flight work to finish within the context's shutdown grace period.

Return

true if the work finished (or there was none) within the grace period; false if the grace period elapsed with work still in flight and the worker was forcibly stopped.