SubmissionPublisher - Subscriber#onComplete() not invoked when publisher is closed

Pavel Bucek pavel.bucek at oracle.com
Tue Feb 21 12:36:21 UTC 2017


Thanks for all responses.

I understand how it works and it makes sense, but I believe the javadoc 
is not exact; SubsmissionPublisher#close doesn't mention any condition 
for the Subscriber#onComplete() invocation, but there obviously is one.

Thanks again,
Pavel


On 21/02/2017 12:49, Doug Lea wrote:
> On 02/21/2017 06:36 AM, Pavel Rappo wrote:
>> Only if you want an answer from the concurrency uber geeks :-)
>
> There seems to be no need for a further answer anyway!
> Thanks for pointing out that Subscription.request must be called to 
> receive any items, and given this, the example works as expected.
>
> -Doug
>
>
>
>>
>>> On 21 Feb 2017, at 11:32, Pavel Bucek <pavel.bucek at oracle.com> wrote:
>>>
>>> Thanks for the link to the other mailing list - do I understand it 
>>> correctly that I should move this thread there?
>>
>>
>



More information about the core-libs-dev mailing list