Methods
# async protected current() → {Promise.<(string|number|bigint)>}
Retrieves the current value for the sequence
- Implements:
Promise.<(string|number|bigint)>
# async protected increment(current, count)
increments the sequence
Sequence specific implementation
Parameters:
Name | Type | Description |
---|---|---|
current |
string
|
number
|
bigint
|
|
count |
# async next() → {Promise.<(number|string|bigint)>}
Generates the next value in th sequence
calls Sequence#parse
on the current value
followed by Sequence#increment
Promise.<(number|string|bigint)>