That options.immediate = true line that’s now executed (when polling can be used) is mutating the options object that’s passed into the function — which shouldn’t happen. I’ve updated the logic to make a copy of the incoming options and avoid mutating the original.
That
options.immediate = true
line that’s now executed (when polling can be used) is mutating theoptions
object that’s passed into the function — which shouldn’t happen. I’ve updated the logic to make a copy of the incoming options and avoid mutating the original.