consume

open override fun consume(): Job

Returns registered foreground job or throws.