Skip to content

Commit

Permalink
adds docs
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
  • Loading branch information
OlegDokuka committed Mar 28, 2022
1 parent d0650b6 commit 956bc90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ public Void block(Duration m) {
return block();
}


/**
* This method is deliberately non-blocking regardless it is named as `.block`. The
* main intent to keep this method along with the {@link #subscribe()} is to eliminate
* redundancy which comes with a default block method implementation.
*/
@Override
@Nullable
public Void block() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ public Void block(Duration m) {
return block();
}


/**
* This method is deliberately non-blocking regardless it is named as `.block`. The
* main intent to keep this method along with the {@link #subscribe()} is to eliminate
* redundancy which comes with a default block method implementation.
*/
@Override
@Nullable
public Void block() {
Expand Down

0 comments on commit 956bc90

Please sign in to comment.