SubmissionPublisher.CloseExceptionally(Throwable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unless already closed, issues Flow.Subscriber#onError(Throwable) onError
signals to current
subscribers with the given error, and disallows subsequent
attempts to publish.
[Android.Runtime.Register("closeExceptionally", "(Ljava/lang/Throwable;)V", "GetCloseExceptionally_Ljava_lang_Throwable_Handler", ApiSince=33)]
public virtual void CloseExceptionally (Java.Lang.Throwable? error);
[<Android.Runtime.Register("closeExceptionally", "(Ljava/lang/Throwable;)V", "GetCloseExceptionally_Ljava_lang_Throwable_Handler", ApiSince=33)>]
abstract member CloseExceptionally : Java.Lang.Throwable -> unit
override this.CloseExceptionally : Java.Lang.Throwable -> unit
Parameters
- error
- Throwable
the onError
argument sent to subscribers
- Attributes
Remarks
Unless already closed, issues Flow.Subscriber#onError(Throwable) onError
signals to current subscribers with the given error, and disallows subsequent attempts to publish. Future subscribers also receive the given error. Upon return, this method does <em>NOT</em> guarantee that all subscribers have yet completed.
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.