Skip to content

Commit

Permalink
impl SignalWrite for RwSignal (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
macmv authored Jan 2, 2025
1 parent 9e427f5 commit 3052a51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions reactive/src/signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,12 @@ impl<T> SignalUpdate<T> for RwSignal<T> {
}
}

impl<T> SignalWrite<T> for RwSignal<T> {
fn id(&self) -> Id {
self.id
}
}

impl<T: Clone> SignalGet<T> for ReadSignal<T> {
fn id(&self) -> Id {
self.id
Expand Down

0 comments on commit 3052a51

Please sign in to comment.