shutdown

fun shutdown()

After this method is called, no runnables that have been submitted or are subsequently submitted will start to execute, turning this executor into a no-op.

Runnables that have already started to execute will continue.