kotlin-flow-extensions / hu.akarnokd.kotlin.flow / BehaviorSubject / <init>

<init>

BehaviorSubject()

Constructs an empty BehaviorSubject.

BehaviorSubject(initialValue: T)

Constructs a BehaviorSubject with an initial value to emit to collectors.