Tag incrementer
Last updated
Last updated
[flow/Tag incrementer]
Increments the iterable (colon-separated) part of the received signal's tag.
Bounces when tag is not iterable.
Used for lining up signals with iterations. (See eg. data/array/Iterator
.)
Example A (success):
"A"@"x:1" received via data
"A"@"x:2" is sent via data
(output)
Example B (invalid input):
"A"@"x" received via data
"A"@"x" is sent via bounced
See also:
flow/Tag nester
flow/Tag trimer
Keywords: simulated iteration, fake iteration, synchronization, syncing
data: any
Receives signal with iterable tag. When the tag is not iterable, the signal will be bounced.
data: any
Sends signal with data identical to the one received via data
, but with incremented tag.
bounced: any
Forwards the signal received through data
when its tag was not iterable.