Why pass variable into fiber(spawn) in a loop not work?

while does not create a new scope. So _i is closured and shared within the entire top-level scope.

1 Like