Share via


SubmissionPublisher.Close Method

Definition

Unless already closed, issues Flow.Subscriber#onComplete() onComplete signals to current subscribers, and disallows subsequent attempts to publish.

[Android.Runtime.Register("close", "()V", "GetCloseHandler", ApiSince=33)]
public virtual void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler", ApiSince=33)>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Remarks

Unless already closed, issues Flow.Subscriber#onComplete() onComplete signals to current subscribers, and disallows subsequent attempts to publish. Upon return, this method does <em>NOT</em> guarantee that all subscribers have yet completed.

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

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