checkpoint method

Future<int> checkpoint()

The last sequence this consumer has delivered, or 0.

Implementation

Future<int> checkpoint() async => (await position()) ?? 0;