@ethlete/core 4.18.4 → 4.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -205,6 +205,11 @@ export declare const computedTillTruthy: <T>(source: Signal<T>) => Signal<T | nu
|
|
|
205
205
|
* All subsequent changes inside the computation will be ignored.
|
|
206
206
|
*/
|
|
207
207
|
export declare const computedTillFalsy: <T>(source: Signal<T>) => Signal<T | null>;
|
|
208
|
+
/**
|
|
209
|
+
* A writeable signal that will be set to the provided value once all inputs are set.
|
|
210
|
+
* During that time, the signal will be set to `null`.
|
|
211
|
+
*/
|
|
212
|
+
export declare const deferredSignal: <T extends () => unknown>(valueFn: T) => WritableSignal<ReturnType<T> | null>;
|
|
208
213
|
/** Inject a signal containing a boolean value indicating if the viewport is xs */
|
|
209
214
|
export declare const injectIsXs: () => Signal<boolean>;
|
|
210
215
|
/** Inject a signal containing a boolean value indicating if the viewport is sm */
|