diff --git a/packages/state_beacon_core/lib/src/extensions/wrap_utils.dart b/packages/state_beacon_core/lib/src/extensions/wrap_utils.dart index 2602f2d5..130e1976 100644 --- a/packages/state_beacon_core/lib/src/extensions/wrap_utils.dart +++ b/packages/state_beacon_core/lib/src/extensions/wrap_utils.dart @@ -69,7 +69,6 @@ extension ReadableBeaconWrapUtils on ReadableBeacon { /// See: `Beacon.debounced` for more details. DebouncedBeacon debounce({ required Duration duration, - bool startNow = true, String? name, }) { final beacon = Beacon.lazyDebounced( @@ -106,7 +105,6 @@ extension ReadableBeaconWrapUtils on ReadableBeacon { /// See: `Beacon.throttled` for more details. ThrottledBeacon throttle({ required Duration duration, - bool startNow = true, bool dropBlocked = true, String? name, }) { @@ -144,7 +142,6 @@ extension ReadableBeaconWrapUtils on ReadableBeacon { /// ``` /// See: `Beacon.filtered` for more details. FilteredBeacon filter({ - bool startNow = true, bool Function(T?, T)? filter, String? name, }) { diff --git a/packages/state_beacon_core/test/src/extensions/readable_test.dart b/packages/state_beacon_core/test/src/extensions/readable_test.dart index bca35569..843c7ef3 100644 --- a/packages/state_beacon_core/test/src/extensions/readable_test.dart +++ b/packages/state_beacon_core/test/src/extensions/readable_test.dart @@ -122,10 +122,9 @@ void main() { final buffered = beacon.buffer(3); final bufferedTime = beacon.bufferTime(duration: k10ms); - final debounced = beacon.debounce(duration: k10ms, startNow: false); - final throttled = beacon.throttle(duration: k10ms, startNow: false); + final debounced = beacon.debounce(duration: k10ms); + final throttled = beacon.throttle(duration: k10ms); final filtered = beacon.filter( - startNow: false, filter: (p0, p1) => p1.isEven, ); diff --git a/packages/state_beacon_core/test/src/wrapping_test.dart b/packages/state_beacon_core/test/src/wrapping_test.dart index 3d2cfd8c..9ed644f8 100644 --- a/packages/state_beacon_core/test/src/wrapping_test.dart +++ b/packages/state_beacon_core/test/src/wrapping_test.dart @@ -350,7 +350,7 @@ void main() { }); test('should delegate writes to parent when chained/4', () async { - BeaconObserver.instance = LoggingObserver(); + // BeaconObserver.instance = LoggingObserver(); final count = Beacon.writable(10, name: 'count');