withImmutableState

open fun withImmutableState(immutableState: ImmutableState): ThreadFlow