Share via


Flow.ISubscriber.OnComplete Method

Definition

Method invoked when it is known that no additional Subscriber method invocations will occur for a Subscription that is not already terminated by error, after which no other Subscriber methods are invoked by the Subscription.

[Android.Runtime.Register("onComplete", "()V", "GetOnCompleteHandler:Java.Util.Concurrent.Flow/ISubscriberInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void OnComplete ();
[<Android.Runtime.Register("onComplete", "()V", "GetOnCompleteHandler:Java.Util.Concurrent.Flow/ISubscriberInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member OnComplete : unit -> unit
Attributes

Remarks

Method invoked when it is known that no additional Subscriber method invocations will occur for a Subscription that is not already terminated by error, after which no other Subscriber methods are invoked by the Subscription. If this method throws an exception, resulting behavior is undefined.

Java documentation for java.util.concurrent.Flow.Subscriber.onComplete().

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