T- the type of event
public class SseEventSubscription<T> extends Object implements org.reactivestreams.Subscription
|Modifier and Type||Method and Description|
public void request(long n)
n- the strictly positive number of elements to requests to the
public void cancel()
SseEventPublisherto stop sending data and clean up resources. Data may still be sent to meet previously signaled demand after calling cancel.
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.