Skip to content

Commit 11248da

Browse files
authored
PgChannel fetch throws UnsupportedOperationException (#1602) (#1605)
See #1403 Instead, fetch may call resume Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
1 parent 5178575 commit 11248da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vertx-pg-client/src/main/java/io/vertx/pgclient/impl/pubsub/PgSubscriberImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ public ChannelImpl resume() {
321321
return this;
322322
}
323323

324-
// Since Vert.x 3.6.0 : todo
324+
@Override
325325
public ReadStream<String> fetch(long amount) {
326-
throw new UnsupportedOperationException();
326+
return resume();
327327
}
328328
}
329329

0 commit comments

Comments
 (0)