/** * Create an Subscriber for Observable style asynchronous push based Streams. * Streams generated from AsyncSubscribers are not backpressure aware (in cases * where backpressue is not needed they may perform better). * For backpressure aware Streams see {@link Spouts#reactiveSubscriber} * * @param <T> Stream data type * @return Async Stream Subscriber */ static <T> AsyncSubscriber<T> asyncSubscriber(){ return new AsyncSubscriber<T>(); }
/** * Create an Subscriber for Observable style asynchronous push based Streams. * Streams generated from AsyncSubscribers are not backpressure aware (in cases * where backpressue is not needed they may perform better). * For backpressure aware Streams see {@link Spouts#reactiveSubscriber} * * @param <T> Stream data type * @return Async Stream Subscriber */ static <T> AsyncSubscriber<T> asyncSubscriber(){ return new AsyncSubscriber<T>(); }