isSampling property

bool get isSampling

Whether the study is sampling data, i.e. its samplingState is resumed.

Implementation

bool get isSampling => (samplingState?.state ?? ExecutorState.Undefined) == ExecutorState.Resumed;