Share via


SubmissionPublisher.EstimateMinimumDemand Method

Definition

Returns an estimate of the minimum number of items requested (via Flow.Subscription#request(long) request) but not yet produced, among all current subscribers.

[Android.Runtime.Register("estimateMinimumDemand", "()J", "GetEstimateMinimumDemandHandler", ApiSince=33)]
public virtual long EstimateMinimumDemand ();
[<Android.Runtime.Register("estimateMinimumDemand", "()J", "GetEstimateMinimumDemandHandler", ApiSince=33)>]
abstract member EstimateMinimumDemand : unit -> int64
override this.EstimateMinimumDemand : unit -> int64

Returns

the estimate, or zero if no subscribers

Attributes

Remarks

Returns an estimate of the minimum number of items requested (via Flow.Subscription#request(long) request) but not yet produced, among all current subscribers.

Java documentation for java.util.concurrent.SubmissionPublisher.estimateMinimumDemand().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to