diff --git a/sw.js b/sw.js index 2e4789e..91f6d96 100644 --- a/sw.js +++ b/sw.js @@ -1,5 +1,6 @@ const isFunction = (value) => typeof value === 'function'; const isNode = (value) => value instanceof Node; +const get = (sig) => (sig?._isSignal ? sig.value : (isFn(sig) ? sig() : sig)); // --- Schedule System --- let isScheduled = false;