range method
Synthesizes a Counted Pulse Generator—a specialized bridge designed to evolve a sequence of arithmetic integers.
range transforms a single trigger stimulus from the source cell into a deterministic sequence of pulses. It is commonly used to initiate loops or coordinate indexed materializations within the topography.
When to use
- Indexed Iteration: Triggering a set number of operations in response to a state change.
- Synthetic Burst Generation: Seeding a topography branch with a specific sequence of numeric payloads.
- Pagination Logic: Generating offsets or page numbers for downstream evolution gates.
How it works
- Stimulus Interception: The bridge awaits a trigger pulse from the source cell.
- Arithmetic Generation: Upon ingress, the orchestrator
calculates a sequence starting at
start, iteratingcounttimes, incrementing bystep. - Pulse Evolution: Each integer is materialized as a new pulse, inheriting the provenance and priority of the trigger.
Parameters:
start: The Initial Payload of the sequence.count: The total Materialization Count.step: The Arithmetic Increment between pulses.
Returns:
A FlowHandle representing the anchored generator node.
See Also
- repeat: For evolving the same payload multiple times.
- fromIterable: For evolving pulses from a dynamic collection.
Implementation
FlowHandle range({required int start, required int count, int step = 1}) =>
Flow.range(this, start: start, count: count, step: step);