class StatelyDB::Token

Consumers should not need to construct this type directly.
Ths StatelyDB SDK vends this Token type for list and sync operations.
to sync or continue listing based on the last operation performed.
The Token type contains a continuation token for list and sync operations along with metadata about the ability

def can_continue?

Returns:
  • (Boolean) -
def can_continue?
  !!@can_continue
end

def can_sync?

Returns:
  • (Boolean) -
def can_sync?
  !!@can_sync
end

def initialize(token_data:, can_continue:, can_sync:, schema_version_id:)

Parameters:
  • schema_version_id (Integer) --
  • can_sync (Boolean) --
  • can_continue (Boolean) --
  • token_data (String) --
def initialize(token_data:, can_continue:, can_sync:, schema_version_id:)
  @token_data = token_data
  @can_continue = can_continue
  @can_sync = can_sync
  @schema_version_id = schema_version_id
end