Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

[PushStream] PushStream#onError has Documentation of onClose #2975

Open
bjhargrave opened this issue Jan 25, 2019 · 1 comment
Open

[PushStream] PushStream#onError has Documentation of onClose #2975

bjhargrave opened this issue Jan 25, 2019 · 1 comment

Comments

@bjhargrave
Copy link
Member

Original bug ID: BZ#3107
From: @juergen-albert
Reported version: R7

@bjhargrave
Copy link
Member Author

Comment author: @juergen-albert

I guess there should be a difference. It currently looks like a copy&waste mistake.

/**
* Must be run after the channel is closed. This handler will run after the
* downstream methods have processed the close event and before the upstream
* methods have closed.
*
* @ param closeHandler Will be called on close
* @ return This stream
*/
PushStream onClose(Runnable closeHandler);

/**
 * Must be run after the channel is closed. This handler will run after the
 * downstream methods have processed the close event and before the upstream
 * methods have closed.
 * 
 * @ param closeHandler Will be called on close
 * @ return This stream
 */
PushStream<T> onError(Consumer< ? super Throwable> closeHandler);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant