ServiceLifecycleEvent - corda

corda / net.corda.core.node.services / ServiceLifecycleEvent

# ServiceLifecycleEvent

`enum class ServiceLifecycleEvent`

### Enum Values

#### BEFORE_STATE_MACHINE_START | This event is dispatched when the node is about to start the State Machine. The State Machine will not be started until all handlers return from processing this event. Handlers can delay the node start-up, and the processing of flows, by not returning from handling this event until their CorDapp is ready for flows to be started/resumed.
#### STATE_MACHINE_STARTED | This event is dispatched when State Machine is fully started such that net.corda.core.node.AppServiceHub available for CordaService to be use.