subjectOf

fun <T> subjectOf(initialValue: T): SimpleInitializedSubject<T>

Creates a SimpleInitializedSubject with an initial value

Parameters

T

the type of value to expect.

initialValue

The initial value of T.