pub trait SignalDispose {
    // Required method
    fn dispose(self);
}
Expand description

This trait allows disposing a signal before its Scope has been disposed.

Required Methods§

source

fn dispose(self)

Disposes of the signal. This:

  1. Detaches the signal from the reactive graph, preventing it from triggering further updates; and
  2. Drops the value contained in the signal.

Implementors§