Skip to content

//workflow/com.squareup.workflow1/LifecycleWorker/onStarted

onStarted

[jvm]
Content
open fun onStarted()
More info

Called when this worker is started. It is executed concurrently with the parent workflow – the first render pass that starts 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 onStopped, and it will always be called first.

Invoked on the dispatcher running the workflow.