@thi.ng/rstream 7.2.45 → 8.0.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.
- package/CHANGELOG.md +40 -1
- package/README.md +99 -60
- package/checks.d.ts +1 -1
- package/debounce.d.ts +1 -1
- package/event.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/interval.d.ts +1 -1
- package/iterable.d.ts +5 -5
- package/iterable.js +4 -4
- package/merge.d.ts +1 -1
- package/metastream.d.ts +1 -1
- package/metastream.js +1 -1
- package/nodejs.d.ts +1 -1
- package/object.d.ts +2 -3
- package/package.json +20 -14
- package/promise.d.ts +1 -1
- package/pubsub.d.ts +1 -1
- package/raf.d.ts +19 -8
- package/raf.js +11 -10
- package/sidechain-partition.d.ts +39 -16
- package/sidechain-partition.js +49 -28
- package/sidechain-toggle.d.ts +12 -14
- package/sidechain-toggle.js +15 -19
- package/sidechain-trigger.d.ts +54 -0
- package/sidechain-trigger.js +66 -0
- package/stream.d.ts +1 -1
- package/subscription.d.ts +2 -3
- package/sync-raf.d.ts +45 -0
- package/sync-raf.js +72 -0
- package/sync.d.ts +1 -1
- package/timeout.d.ts +1 -1
- package/tween.d.ts +1 -1
- package/view.d.ts +1 -1
- package/view.js +1 -1
package/tween.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Fn2 } from "@thi.ng/api";
|
|
2
|
-
import { ISubscribable } from "./api.js";
|
|
2
|
+
import { type ISubscribable } from "./api.js";
|
|
3
3
|
/**
|
|
4
4
|
* Takes an existing stream/subscription `src` and attaches new
|
|
5
5
|
* subscription which interpolates between incoming values from `src`
|
package/view.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare const fromViewUnsafe: <T>(atom: ReadonlyAtom<any>, opts: FromView
|
|
|
41
41
|
/**
|
|
42
42
|
* Similar to {@link fromAtom}, but creates a type checked, eager derived view
|
|
43
43
|
* for a nested value in an Atom-like state container and yields stream of its
|
|
44
|
-
* value changes.
|
|
44
|
+
* value changes. See {@link fromViewUnsafe} for unchecked version.
|
|
45
45
|
*
|
|
46
46
|
* @remarks
|
|
47
47
|
* Stream value type is inferred from target path or (if given), the result type
|
package/view.js
CHANGED