holoviz / param

Param: Make your Python code clearer and more reliable by declaring Parameters
https://param.holoviz.org
BSD 3-Clause "New" or "Revised" License
427 stars 73 forks source link

Fix issue with precedence of reactive invalidation callback #842

Closed philippjfr closed 1 year ago

philippjfr commented 1 year ago

Previously internal callbacks (with precedence=-1) could run before the reactive object was fully invalidated causing the cached value to be returned. We now run invalidation callbacks with the precedence=-1 ensuring that they run first.