Skip to content

//workflow/com.squareup.workflow1/LifecycleWorker/onStopped

onStopped

[jvm]
Content
open fun onStopped()
More info

Called when this worker has been torn down. It is executed concurrently with the parent workflow – the render pass that cancels (stops) this worker will not wait for this method to return, and one or more additional render passes may occur before this method is called. This behavior may change to be more strict in the future.

This method will be called exactly once for each matching call to onStarted, and it will always be called second.

Invoked on the dispatcher running the workflow.