Skip to content

Commit 0bd6258

Browse files
authored
PgChannel fetch throws UnsupportedOperationException (#1600)
See #1403 Instead, fetch may call resume Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
1 parent fbcce2c commit 0bd6258

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
@@ -327,9 +327,9 @@ public ChannelImpl resume() {
327327
return this;
328328
}
329329

330-
// Since Vert.x 3.6.0 : todo
330+
@Override
331331
public ReadStream<String> fetch(long amount) {
332-
throw new UnsupportedOperationException();
332+
return resume();
333333
}
334334
}
335335

0 commit comments

Comments
 (0)