range method

FlowHandle range({
  1. required int start,
  2. required int count,
  3. int step = 1,
})

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

  1. Stimulus Interception: The bridge awaits a trigger pulse from the source cell.
  2. Arithmetic Generation: Upon ingress, the orchestrator calculates a sequence starting at start, iterating count times, incrementing by step.
  3. 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);