kill method

Future<void> kill()

Implementation

Future<void> kill() async {
  if (_hasMore != true) return;

  await _connection.request(
    method: 'DELETE',
    path: '/_api/cursor/$_id',
  );

  _hasMore = false;
  return;
}