Pagination with Mutiny

36 views
Skip to first unread message

Luke

unread,
Jun 15, 2022, 9:43:34 PMJun 15
to vert.x
Hi Julien,

pagination with mutiny is easy if we'd use a simple numbered pagination in Mutiny. But I need to use next page info extracted from header  (so that's in the response) for next iteration, how should we implement it?

Sincerely,
Luke

Julien Ponge

unread,
Jun 16, 2022, 2:12:31 AMJun 16
to Luke, ve...@googlegroups.com
Hello,

First of all Mutiny discussions are better here, see https://github.com/smallrye/smallrye-mutiny/discussions/952 for a discussion on pagination.

A few elements:
  • pagination depends on what the underlying network driver/publisher does
  • Mutiny contexts are efficient for storing per-subscription data
Cheers
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages