asSubscriptionMode

Convert this Essenty Lifecycle.State to a SubscriptionMode.

Lifecycle.State.DESTROYED and Lifecycle.State.INITIALIZED are not supported by Essenty as valid subscription modes and wll throw an IllegalStateException