Aslagle / reactive-table - getting all ids of a collection

Hi I am using this package

aslagle/ reactive-table

and I have a table which is getting data from a ReactiveTable.publish
I have created a column with checkboxes to select the rows, and I have added a button next to the table to select all rows which will select all checkboxes.
I have handled saving the state of checkboxes with ReactiveVar…
The issue is that I don’t know how to retrieve ids of the whole ReactiveTable collection with current filters applied. So that I can make the “select all” button functional.

Anybody has a clue?