stop

This directive generates rows in the worksheet until the specified column's value is TRUE.

pebblestream:stop

The runtime will drag down this worksheet row by row until a cell in this column is TRUE.

The stop directive now takes a numeric maximum rows parameter. The value of this parameter acts as a fail safe in case the stop condition is never realized.

pebblestream:stop(1000)

This will not generate more than 1000 rows.

📘

It is best practice to provide a maximum row count for your stop directive! Even though the runtime will short circuit a long running stop directive, providing the maximu row count overrides the internal runtime maximum row count.

Example