Pluto --- Function barrier

While trying to solve a similar problem I found this thread: PlutoUI: Trigger long computation only after user sets many parameters and confirms

I liked the following:
(each code block a Pluto cell)

using PlutoUI
parameters = (1,2,3)
parameters; @bind trigger CheckBox(default=false)
result = trigger ? sum(parameters) : nothing

This setup means that every time you change parameters the check box will be recreated unchecked, blocking the computation.

2 Likes