swim icon indicating copy to clipboard operation
swim copied to clipboard

Join Map Lane repeatedly executes didUpdate

Open DobromirM opened this issue 3 years ago • 1 comments

Using the same example from #67 the join map lane will keep executing the same didUpdate callback indefinitely every 90 seconds.

Input

@command(node:"/unit/foo", lane:"addItem")"foo"

Initial Output:

join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1

Output after 90 seconds:

join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1
join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1

Output after 180 seconds:

join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1
join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1
join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1

etc...

Might be resolved when #67 is resolved.

DobromirM avatar Oct 01 '21 15:10 DobromirM

Despite that join value lanes also have a duplication callback bug, they are NOT affected by this.

DobromirM avatar Oct 01 '21 15:10 DobromirM