mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-22 16:49:22 -05:00
Uses caller tracking for filtered signals for better warning reporting.
This commit is contained in:
parent
9c035d50d8
commit
6918314bff
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ macro_rules! signal_filtered {
|
|||
) => {
|
||||
paste! {
|
||||
$(#[$outer])*
|
||||
#[track_caller]
|
||||
pub fn [<signal_ $filter_name d>]<S, T>(
|
||||
value: S,
|
||||
ms: impl Into<MaybeSignal<f64>> + 'static,
|
||||
|
@ -27,6 +28,7 @@ macro_rules! signal_filtered {
|
|||
/// See
|
||||
#[$simple_func_doc]
|
||||
/// for how to use.
|
||||
#[track_caller]
|
||||
pub fn [<signal_ $filter_name d_with_options>]<S, T>(
|
||||
value: S,
|
||||
ms: impl Into<MaybeSignal<f64>> + 'static,
|
||||
|
|
Loading…
Add table
Reference in a new issue