pub fn reload() -> FnResult<()>
Expand description
Called every time Surfer reloads the waveform. This can be used to re-run any initialization that depends on which waveform is loaded.
Note that set_wave_source
is also called when reloading, so if the state
depends on the currently loaded waveform, reload
is not necessary.