StateSubscription

constructor(initialSnapshot: StateSnapshot<T>, closeAction: () -> Unit)(source)

Parameters

closeAction

closes the source-owned observation and does not return successfully until the source can start no further callback for it.

Type Parameters

T

the observed value type.