@typed/fx 1.18.2 → 1.18.4
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/dist/cjs/Computed.js +8 -8
- package/dist/cjs/Computed.js.map +1 -1
- package/dist/cjs/Emitter.js +1 -1
- package/dist/cjs/Emitter.js.map +1 -1
- package/dist/cjs/Filtered.js +7 -7
- package/dist/cjs/Filtered.js.map +1 -1
- package/dist/cjs/Form.js +7 -7
- package/dist/cjs/Form.js.map +1 -1
- package/dist/cjs/FormEntry.js +6 -6
- package/dist/cjs/FormEntry.js.map +1 -1
- package/dist/cjs/Fx.js +11 -11
- package/dist/cjs/Fx.js.map +1 -1
- package/dist/cjs/Idle.js +3 -3
- package/dist/cjs/Idle.js.map +1 -1
- package/dist/cjs/Match.js +3 -3
- package/dist/cjs/Match.js.map +1 -1
- package/dist/cjs/Model.js +5 -5
- package/dist/cjs/Model.js.map +1 -1
- package/dist/cjs/RefArray.js +1 -1
- package/dist/cjs/RefArray.js.map +1 -1
- package/dist/cjs/RefAsyncData.js +4 -4
- package/dist/cjs/RefAsyncData.js.map +1 -1
- package/dist/cjs/RefAsyncDataArray.js +2 -2
- package/dist/cjs/RefAsyncDataArray.js.map +1 -1
- package/dist/cjs/RefBoolean.js +1 -1
- package/dist/cjs/RefBoolean.js.map +1 -1
- package/dist/cjs/RefChunk.js +1 -1
- package/dist/cjs/RefChunk.js.map +1 -1
- package/dist/cjs/RefHashMap.js +1 -1
- package/dist/cjs/RefHashMap.js.map +1 -1
- package/dist/cjs/RefHashSet.js +1 -1
- package/dist/cjs/RefHashSet.js.map +1 -1
- package/dist/cjs/RefNumber.js +1 -1
- package/dist/cjs/RefNumber.js.map +1 -1
- package/dist/cjs/RefSubject.js +9 -9
- package/dist/cjs/RefSubject.js.map +1 -1
- package/dist/cjs/Stream.js +2 -2
- package/dist/cjs/Stream.js.map +1 -1
- package/dist/cjs/Subject.js +4 -4
- package/dist/cjs/Subject.js.map +1 -1
- package/dist/cjs/TypeId.js +4 -4
- package/dist/cjs/TypeId.js.map +1 -1
- package/dist/cjs/Typeclass.js +2 -2
- package/dist/cjs/Typeclass.js.map +1 -1
- package/dist/cjs/Versioned.js +3 -3
- package/dist/cjs/Versioned.js.map +1 -1
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/internal/core-ref-subject.js +13 -13
- package/dist/cjs/internal/core-ref-subject.js.map +1 -1
- package/dist/cjs/internal/core-subject.js +3 -3
- package/dist/cjs/internal/core-subject.js.map +1 -1
- package/dist/cjs/internal/core.js +13 -13
- package/dist/cjs/internal/core.js.map +1 -1
- package/dist/cjs/internal/effect-operator.js +1 -1
- package/dist/cjs/internal/effect-operator.js.map +1 -1
- package/dist/cjs/internal/fx-effect-proto.js +2 -2
- package/dist/cjs/internal/fx-effect-proto.js.map +1 -1
- package/dist/cjs/internal/fx-primitive.js +3 -3
- package/dist/cjs/internal/fx-primitive.js.map +1 -1
- package/dist/cjs/internal/fx.js +5 -5
- package/dist/cjs/internal/fx.js.map +1 -1
- package/dist/cjs/internal/helpers.js +1 -1
- package/dist/cjs/internal/helpers.js.map +1 -1
- package/dist/cjs/internal/keyed.js +6 -6
- package/dist/cjs/internal/keyed.js.map +1 -1
- package/dist/cjs/internal/matchers.js +1 -1
- package/dist/cjs/internal/matchers.js.map +1 -1
- package/dist/cjs/internal/protos.js +1 -1
- package/dist/cjs/internal/protos.js.map +1 -1
- package/dist/cjs/internal/run.js +5 -5
- package/dist/cjs/internal/run.js.map +1 -1
- package/dist/cjs/internal/schema-ref-subject.js +4 -4
- package/dist/cjs/internal/schema-ref-subject.js.map +1 -1
- package/dist/cjs/internal/share.js +4 -4
- package/dist/cjs/internal/share.js.map +1 -1
- package/dist/cjs/internal/sync-operator.js +1 -1
- package/dist/cjs/internal/sync-operator.js.map +1 -1
- package/dist/cjs/internal/versioned-transform.js +2 -2
- package/dist/cjs/internal/versioned-transform.js.map +1 -1
- package/dist/cjs/internal/withKey.js +5 -5
- package/dist/cjs/internal/withKey.js.map +1 -1
- package/dist/dts/Computed.d.ts +4 -4
- package/dist/dts/Computed.d.ts.map +1 -1
- package/dist/dts/Emitter.d.ts +1 -1
- package/dist/dts/Emitter.d.ts.map +1 -1
- package/dist/dts/Filtered.d.ts +4 -4
- package/dist/dts/Filtered.d.ts.map +1 -1
- package/dist/dts/Form.d.ts +5 -5
- package/dist/dts/Form.d.ts.map +1 -1
- package/dist/dts/FormEntry.d.ts +3 -3
- package/dist/dts/FormEntry.d.ts.map +1 -1
- package/dist/dts/Fx.d.ts +7 -7
- package/dist/dts/Fx.d.ts.map +1 -1
- package/dist/dts/Match.d.ts +3 -3
- package/dist/dts/Match.d.ts.map +1 -1
- package/dist/dts/Model.d.ts +5 -5
- package/dist/dts/Model.d.ts.map +1 -1
- package/dist/dts/Pull.d.ts +1 -1
- package/dist/dts/Pull.d.ts.map +1 -1
- package/dist/dts/RefArray.d.ts +4 -4
- package/dist/dts/RefArray.d.ts.map +1 -1
- package/dist/dts/RefAsyncData.d.ts +5 -5
- package/dist/dts/RefAsyncData.d.ts.map +1 -1
- package/dist/dts/RefAsyncDataArray.d.ts +3 -3
- package/dist/dts/RefAsyncDataArray.d.ts.map +1 -1
- package/dist/dts/RefBoolean.d.ts +2 -2
- package/dist/dts/RefBoolean.d.ts.map +1 -1
- package/dist/dts/RefChunk.d.ts +4 -4
- package/dist/dts/RefChunk.d.ts.map +1 -1
- package/dist/dts/RefHashMap.d.ts +4 -4
- package/dist/dts/RefHashMap.d.ts.map +1 -1
- package/dist/dts/RefHashSet.d.ts +3 -3
- package/dist/dts/RefHashSet.d.ts.map +1 -1
- package/dist/dts/RefNumber.d.ts +2 -2
- package/dist/dts/RefNumber.d.ts.map +1 -1
- package/dist/dts/RefSubject.d.ts +5 -5
- package/dist/dts/RefSubject.d.ts.map +1 -1
- package/dist/dts/Stream.d.ts +1 -1
- package/dist/dts/Stream.d.ts.map +1 -1
- package/dist/dts/Subject.d.ts +2 -2
- package/dist/dts/Subject.d.ts.map +1 -1
- package/dist/dts/TypeId.d.ts.map +1 -1
- package/dist/dts/Typeclass.d.ts +1 -1
- package/dist/dts/Typeclass.d.ts.map +1 -1
- package/dist/dts/Versioned.d.ts +1 -1
- package/dist/dts/Versioned.d.ts.map +1 -1
- package/dist/dts/index.d.ts +9 -9
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/internal/core-ref-subject.d.ts +7 -7
- package/dist/dts/internal/core-ref-subject.d.ts.map +1 -1
- package/dist/dts/internal/core-subject.d.ts +1 -1
- package/dist/dts/internal/core-subject.d.ts.map +1 -1
- package/dist/dts/internal/core.d.ts +3 -3
- package/dist/dts/internal/core.d.ts.map +1 -1
- package/dist/dts/internal/effect-operator.d.ts +2 -2
- package/dist/dts/internal/effect-operator.d.ts.map +1 -1
- package/dist/dts/internal/fx-effect-proto.d.ts +3 -3
- package/dist/dts/internal/fx-effect-proto.d.ts.map +1 -1
- package/dist/dts/internal/fx-primitive.d.ts +5 -5
- package/dist/dts/internal/fx-primitive.d.ts.map +1 -1
- package/dist/dts/internal/fx.d.ts +1 -1
- package/dist/dts/internal/fx.d.ts.map +1 -1
- package/dist/dts/internal/helpers.d.ts +2 -2
- package/dist/dts/internal/helpers.d.ts.map +1 -1
- package/dist/dts/internal/keyed.d.ts +2 -2
- package/dist/dts/internal/keyed.d.ts.map +1 -1
- package/dist/dts/internal/matchers.d.ts +4 -4
- package/dist/dts/internal/matchers.d.ts.map +1 -1
- package/dist/dts/internal/protos.d.ts +2 -2
- package/dist/dts/internal/protos.d.ts.map +1 -1
- package/dist/dts/internal/run.d.ts +2 -2
- package/dist/dts/internal/run.d.ts.map +1 -1
- package/dist/dts/internal/schema-ref-subject.d.ts +1 -1
- package/dist/dts/internal/schema-ref-subject.d.ts.map +1 -1
- package/dist/dts/internal/share.d.ts +3 -3
- package/dist/dts/internal/share.d.ts.map +1 -1
- package/dist/dts/internal/strategies.d.ts +1 -1
- package/dist/dts/internal/strategies.d.ts.map +1 -1
- package/dist/dts/internal/sync-operator.d.ts +1 -1
- package/dist/dts/internal/sync-operator.d.ts.map +1 -1
- package/dist/dts/internal/versioned-transform.d.ts +3 -3
- package/dist/dts/internal/versioned-transform.d.ts.map +1 -1
- package/dist/dts/internal/withKey.d.ts +2 -2
- package/dist/dts/internal/withKey.d.ts.map +1 -1
- package/dist/esm/Computed.js +8 -8
- package/dist/esm/Computed.js.map +1 -1
- package/dist/esm/Emitter.js +1 -1
- package/dist/esm/Emitter.js.map +1 -1
- package/dist/esm/Filtered.js +7 -7
- package/dist/esm/Filtered.js.map +1 -1
- package/dist/esm/Form.js +7 -7
- package/dist/esm/Form.js.map +1 -1
- package/dist/esm/FormEntry.js +6 -6
- package/dist/esm/FormEntry.js.map +1 -1
- package/dist/esm/Fx.js +11 -11
- package/dist/esm/Fx.js.map +1 -1
- package/dist/esm/Idle.js +3 -3
- package/dist/esm/Idle.js.map +1 -1
- package/dist/esm/Match.js +3 -3
- package/dist/esm/Match.js.map +1 -1
- package/dist/esm/Model.js +5 -5
- package/dist/esm/Model.js.map +1 -1
- package/dist/esm/RefArray.js +1 -1
- package/dist/esm/RefArray.js.map +1 -1
- package/dist/esm/RefAsyncData.js +4 -4
- package/dist/esm/RefAsyncData.js.map +1 -1
- package/dist/esm/RefAsyncDataArray.js +2 -2
- package/dist/esm/RefAsyncDataArray.js.map +1 -1
- package/dist/esm/RefBoolean.js +1 -1
- package/dist/esm/RefBoolean.js.map +1 -1
- package/dist/esm/RefChunk.js +1 -1
- package/dist/esm/RefChunk.js.map +1 -1
- package/dist/esm/RefHashMap.js +1 -1
- package/dist/esm/RefHashMap.js.map +1 -1
- package/dist/esm/RefHashSet.js +1 -1
- package/dist/esm/RefHashSet.js.map +1 -1
- package/dist/esm/RefNumber.js +1 -1
- package/dist/esm/RefNumber.js.map +1 -1
- package/dist/esm/RefSubject.js +9 -9
- package/dist/esm/RefSubject.js.map +1 -1
- package/dist/esm/Stream.js +2 -2
- package/dist/esm/Stream.js.map +1 -1
- package/dist/esm/Subject.js +4 -4
- package/dist/esm/Subject.js.map +1 -1
- package/dist/esm/TypeId.js +4 -4
- package/dist/esm/TypeId.js.map +1 -1
- package/dist/esm/Typeclass.js +2 -2
- package/dist/esm/Typeclass.js.map +1 -1
- package/dist/esm/Versioned.js +3 -3
- package/dist/esm/Versioned.js.map +1 -1
- package/dist/esm/index.js +9 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/internal/core-ref-subject.js +13 -13
- package/dist/esm/internal/core-ref-subject.js.map +1 -1
- package/dist/esm/internal/core-subject.js +3 -3
- package/dist/esm/internal/core-subject.js.map +1 -1
- package/dist/esm/internal/core.js +14 -14
- package/dist/esm/internal/core.js.map +1 -1
- package/dist/esm/internal/effect-operator.js +1 -1
- package/dist/esm/internal/effect-operator.js.map +1 -1
- package/dist/esm/internal/fx-effect-proto.js +2 -2
- package/dist/esm/internal/fx-effect-proto.js.map +1 -1
- package/dist/esm/internal/fx-primitive.js +3 -3
- package/dist/esm/internal/fx-primitive.js.map +1 -1
- package/dist/esm/internal/fx.js +5 -5
- package/dist/esm/internal/fx.js.map +1 -1
- package/dist/esm/internal/helpers.js +1 -1
- package/dist/esm/internal/helpers.js.map +1 -1
- package/dist/esm/internal/keyed.js +6 -6
- package/dist/esm/internal/keyed.js.map +1 -1
- package/dist/esm/internal/matchers.js +1 -1
- package/dist/esm/internal/matchers.js.map +1 -1
- package/dist/esm/internal/protos.js +1 -1
- package/dist/esm/internal/protos.js.map +1 -1
- package/dist/esm/internal/run.js +5 -5
- package/dist/esm/internal/run.js.map +1 -1
- package/dist/esm/internal/schema-ref-subject.js +4 -4
- package/dist/esm/internal/schema-ref-subject.js.map +1 -1
- package/dist/esm/internal/share.js +4 -4
- package/dist/esm/internal/share.js.map +1 -1
- package/dist/esm/internal/sync-operator.js +1 -1
- package/dist/esm/internal/sync-operator.js.map +1 -1
- package/dist/esm/internal/versioned-transform.js +2 -2
- package/dist/esm/internal/versioned-transform.js.map +1 -1
- package/dist/esm/internal/withKey.js +5 -5
- package/dist/esm/internal/withKey.js.map +1 -1
- package/package.json +3 -3
- package/src/Computed.ts +9 -9
- package/src/Emitter.ts +3 -3
- package/src/Filtered.ts +8 -8
- package/src/Form.ts +11 -11
- package/src/FormEntry.ts +8 -8
- package/src/Fx.ts +14 -14
- package/src/Idle.ts +3 -3
- package/src/Match.ts +4 -4
- package/src/Model.ts +8 -8
- package/src/Pull.ts +1 -1
- package/src/RefArray.ts +4 -4
- package/src/RefAsyncData.ts +6 -6
- package/src/RefAsyncDataArray.ts +3 -3
- package/src/RefBoolean.ts +2 -2
- package/src/RefChunk.ts +4 -4
- package/src/RefHashMap.ts +4 -4
- package/src/RefHashSet.ts +3 -3
- package/src/RefNumber.ts +2 -2
- package/src/RefSubject.ts +11 -11
- package/src/Stream.ts +2 -2
- package/src/Subject.ts +5 -5
- package/src/TypeId.ts +4 -4
- package/src/Typeclass.ts +3 -3
- package/src/Versioned.ts +4 -4
- package/src/index.ts +9 -9
- package/src/internal/core-ref-subject.ts +16 -16
- package/src/internal/core-subject.ts +6 -6
- package/src/internal/core.ts +15 -15
- package/src/internal/effect-operator.ts +2 -2
- package/src/internal/fx-effect-proto.ts +4 -4
- package/src/internal/fx-primitive.ts +5 -5
- package/src/internal/fx.ts +6 -6
- package/src/internal/helpers.ts +4 -4
- package/src/internal/keyed.ts +8 -8
- package/src/internal/matchers.ts +5 -5
- package/src/internal/protos.ts +2 -2
- package/src/internal/run.ts +6 -6
- package/src/internal/schema-ref-subject.ts +6 -6
- package/src/internal/share.ts +6 -6
- package/src/internal/strategies.ts +1 -1
- package/src/internal/sync-operator.ts +1 -1
- package/src/internal/versioned-transform.ts +4 -4
- package/src/internal/withKey.ts +6 -6
package/src/RefSubject.ts
CHANGED
|
@@ -16,17 +16,17 @@ import { dual } from "effect/Function"
|
|
|
16
16
|
import type * as Layer from "effect/Layer"
|
|
17
17
|
import * as Option from "effect/Option"
|
|
18
18
|
import type * as Scope from "effect/Scope"
|
|
19
|
-
import { Computed, fromTag } from "./Computed"
|
|
20
|
-
import { Filtered } from "./Filtered"
|
|
21
|
-
import type * as Fx from "./Fx"
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import { exit, fromFxEffect } from "./internal/fx"
|
|
25
|
-
import { FxEffectBase } from "./internal/protos"
|
|
26
|
-
import { fromRefSubject, toRefSubject } from "./internal/schema-ref-subject"
|
|
27
|
-
import type * as Subject from "./Subject"
|
|
28
|
-
import { ComputedTypeId, RefSubjectTypeId } from "./TypeId"
|
|
29
|
-
import * as Versioned from "./Versioned"
|
|
19
|
+
import { Computed, fromTag } from "./Computed.js"
|
|
20
|
+
import { Filtered } from "./Filtered.js"
|
|
21
|
+
import type * as Fx from "./Fx.js"
|
|
22
|
+
import * as coreRefSubject from "./internal/core-ref-subject.js"
|
|
23
|
+
import { fromStream, provide, skipRepeatsWith } from "./internal/core.js"
|
|
24
|
+
import { exit, fromFxEffect } from "./internal/fx.js"
|
|
25
|
+
import { FxEffectBase } from "./internal/protos.js"
|
|
26
|
+
import { fromRefSubject, toRefSubject } from "./internal/schema-ref-subject.js"
|
|
27
|
+
import type * as Subject from "./Subject.js"
|
|
28
|
+
import { ComputedTypeId, RefSubjectTypeId } from "./TypeId.js"
|
|
29
|
+
import * as Versioned from "./Versioned.js"
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* A RefSubject is a Subject that has a current value that can be read and updated.
|
package/src/Stream.ts
CHANGED
|
@@ -11,8 +11,8 @@ import * as Option from "effect/Option"
|
|
|
11
11
|
import * as Queue from "effect/Queue"
|
|
12
12
|
import type * as Scope from "effect/Scope"
|
|
13
13
|
import * as Stream from "effect/Stream"
|
|
14
|
-
import * as Fx from "./Fx"
|
|
15
|
-
import { Sink } from "./Sink"
|
|
14
|
+
import * as Fx from "./Fx.js"
|
|
15
|
+
import { Sink } from "./Sink.js"
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Convert an Fx to a Stream
|
package/src/Subject.ts
CHANGED
|
@@ -8,11 +8,11 @@ import * as C from "@typed/context"
|
|
|
8
8
|
import type { Cause } from "effect/Cause"
|
|
9
9
|
import * as Effect from "effect/Effect"
|
|
10
10
|
import type * as Layer from "effect/Layer"
|
|
11
|
-
import { type Fx, ToFx } from "./Fx"
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { fromFxEffect } from "./internal/fx"
|
|
15
|
-
import type { WithContext } from "./Sink"
|
|
11
|
+
import { type Fx, ToFx } from "./Fx.js"
|
|
12
|
+
import * as internal from "./internal/core-subject.js"
|
|
13
|
+
import { provide } from "./internal/core.js"
|
|
14
|
+
import { fromFxEffect } from "./internal/fx.js"
|
|
15
|
+
import type { WithContext } from "./Sink.js"
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* A Subject is an Fx which is also a Sink, and can be used to
|
package/src/TypeId.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @since 1.18.0
|
|
3
3
|
* @category symbols
|
|
4
4
|
*/
|
|
5
|
-
export const TypeId = Symbol.for("./Fx")
|
|
5
|
+
export const TypeId = Symbol.for("./Fx.js")
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @since 1.18.0
|
|
@@ -14,7 +14,7 @@ export type TypeId = typeof TypeId
|
|
|
14
14
|
* @since 1.18.0
|
|
15
15
|
* @category symbols
|
|
16
16
|
*/
|
|
17
|
-
export const RefSubjectTypeId = Symbol.for("./RefSubject")
|
|
17
|
+
export const RefSubjectTypeId = Symbol.for("./RefSubject.js")
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @since 1.18.0
|
|
@@ -26,7 +26,7 @@ export type RefSubjectTypeId = typeof RefSubjectTypeId
|
|
|
26
26
|
* @since 1.18.0
|
|
27
27
|
* @category symbols
|
|
28
28
|
*/
|
|
29
|
-
export const ComputedTypeId = Symbol.for("./Computed")
|
|
29
|
+
export const ComputedTypeId = Symbol.for("./Computed.js")
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* @since 1.18.0
|
|
@@ -38,7 +38,7 @@ export type ComputedTypeId = typeof ComputedTypeId
|
|
|
38
38
|
* @since 1.18.0
|
|
39
39
|
* @category symbols
|
|
40
40
|
*/
|
|
41
|
-
export const FilteredTypeId = Symbol.for("./Filtered")
|
|
41
|
+
export const FilteredTypeId = Symbol.for("./Filtered.js")
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* @since 1.18.0
|
package/src/Typeclass.ts
CHANGED
|
@@ -23,10 +23,10 @@ import type { Either } from "effect/Either"
|
|
|
23
23
|
import { dual } from "effect/Function"
|
|
24
24
|
import type * as HKT from "effect/HKT"
|
|
25
25
|
import { getLeft, getRight } from "effect/Option"
|
|
26
|
-
import type { Fx } from "./Fx"
|
|
26
|
+
import type { Fx } from "./Fx.js"
|
|
27
27
|
|
|
28
|
-
import * as core from "./internal/core"
|
|
29
|
-
import { multicast } from "./internal/share"
|
|
28
|
+
import * as core from "./internal/core.js"
|
|
29
|
+
import { multicast } from "./internal/share.js"
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* TypeLambda for an Fx
|
package/src/Versioned.ts
CHANGED
|
@@ -9,10 +9,10 @@ import type { Context, Layer, Runtime } from "effect"
|
|
|
9
9
|
import { Effect, identity } from "effect"
|
|
10
10
|
import { dual } from "effect/Function"
|
|
11
11
|
import { sum } from "effect/Number"
|
|
12
|
-
import type * as Fx from "./Fx"
|
|
13
|
-
import * as core from "./internal/core"
|
|
14
|
-
import * as fxEffectProto from "./internal/fx-effect-proto"
|
|
15
|
-
import { VersionedTransform } from "./internal/versioned-transform"
|
|
12
|
+
import type * as Fx from "./Fx.js"
|
|
13
|
+
import * as core from "./internal/core.js"
|
|
14
|
+
import * as fxEffectProto from "./internal/fx-effect-proto.js"
|
|
15
|
+
import { VersionedTransform } from "./internal/versioned-transform.js"
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* A data type which is both an Fx and an Effect. This is a more advanced type, and is the basis
|
package/src/index.ts
CHANGED
|
@@ -13,52 +13,52 @@
|
|
|
13
13
|
* [Computed documentation](https://tylors.github.io/typed/fx/Computed.ts.html)
|
|
14
14
|
* @since 1.18.0
|
|
15
15
|
*/
|
|
16
|
-
export * as Computed from "./Computed"
|
|
16
|
+
export * as Computed from "./Computed.js"
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* [Filtered documentation](https://tylors.github.io/typed/fx/Filtered.ts.html)
|
|
20
20
|
* @since 1.18.0
|
|
21
21
|
*/
|
|
22
|
-
export * as Filtered from "./Filtered"
|
|
22
|
+
export * as Filtered from "./Filtered.js"
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* [Fx documentation](https://tylors.github.io/typed/fx/Fx.ts.html)
|
|
26
26
|
* @since 1.18.0
|
|
27
27
|
*/
|
|
28
|
-
export * from "./Fx"
|
|
28
|
+
export * from "./Fx.js"
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* [RefArray documentation](https://tylors.github.io/typed/fx/RefArray.ts.html)
|
|
32
32
|
* @since 1.18.0
|
|
33
33
|
*/
|
|
34
|
-
export * as RefArray from "./RefArray"
|
|
34
|
+
export * as RefArray from "./RefArray.js"
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* [RefSubject documentation](https://tylors.github.io/typed/fx/RefSubject.ts.html)
|
|
38
38
|
* @since 1.18.0
|
|
39
39
|
*/
|
|
40
|
-
export * as RefSubject from "./RefSubject"
|
|
40
|
+
export * as RefSubject from "./RefSubject.js"
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* [Sink documentation](https://tylors.github.io/typed/fx/Sink.ts.html)
|
|
44
44
|
* @since 1.18.0
|
|
45
45
|
*/
|
|
46
|
-
export * as Sink from "./Sink"
|
|
46
|
+
export * as Sink from "./Sink.js"
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* [Subject documentation](https://tylors.github.io/typed/fx/Subject.ts.html)
|
|
50
50
|
* @since 1.18.0
|
|
51
51
|
*/
|
|
52
|
-
export * as Subject from "./Subject"
|
|
52
|
+
export * as Subject from "./Subject.js"
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* [Typeclass documentation](https://tylors.github.io/typed/fx/Typeclass.ts.html)
|
|
56
56
|
* @since 1.18.0
|
|
57
57
|
*/
|
|
58
|
-
export * as Typeclass from "./Typeclass"
|
|
58
|
+
export * as Typeclass from "./Typeclass.js"
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* [TypeId documentation](https://tylors.github.io/typed/fx/TypeId.ts.html)
|
|
62
62
|
* @since 1.18.0
|
|
63
63
|
*/
|
|
64
|
-
export * from "./TypeId"
|
|
64
|
+
export * from "./TypeId.js"
|
|
@@ -10,22 +10,22 @@ import { sum } from "effect/Number"
|
|
|
10
10
|
import * as Option from "effect/Option"
|
|
11
11
|
import { getEquivalence } from "effect/ReadonlyArray"
|
|
12
12
|
import type * as Scope from "effect/Scope"
|
|
13
|
-
import { Computed } from "../Computed"
|
|
14
|
-
import { Filtered } from "../Filtered"
|
|
15
|
-
import type { Fx, FxInput } from "../Fx"
|
|
16
|
-
import { type RefSubject } from "../RefSubject"
|
|
17
|
-
import { Sink, WithContext } from "../Sink"
|
|
18
|
-
import type * as Subject from "../Subject"
|
|
19
|
-
import { ComputedTypeId, RefSubjectTypeId } from "../TypeId"
|
|
20
|
-
import { transformFx } from "../Versioned"
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import { DeferredRef } from "./deferred-ref"
|
|
24
|
-
import { fromFxEffect } from "./fx"
|
|
25
|
-
import { matchFxInput } from "./matchers"
|
|
26
|
-
import { FxEffectBase } from "./protos"
|
|
27
|
-
import { run } from "./run"
|
|
28
|
-
import { share } from "./share"
|
|
13
|
+
import { Computed } from "../Computed.js"
|
|
14
|
+
import { Filtered } from "../Filtered.js"
|
|
15
|
+
import type { Fx, FxInput } from "../Fx.js"
|
|
16
|
+
import { type RefSubject } from "../RefSubject.js"
|
|
17
|
+
import { Sink, WithContext } from "../Sink.js"
|
|
18
|
+
import type * as Subject from "../Subject.js"
|
|
19
|
+
import { ComputedTypeId, RefSubjectTypeId } from "../TypeId.js"
|
|
20
|
+
import { transformFx } from "../Versioned.js"
|
|
21
|
+
import { makeHoldSubject } from "./core-subject.js"
|
|
22
|
+
import * as core from "./core.js"
|
|
23
|
+
import { DeferredRef } from "./deferred-ref.js"
|
|
24
|
+
import { fromFxEffect } from "./fx.js"
|
|
25
|
+
import { matchFxInput } from "./matchers.js"
|
|
26
|
+
import { FxEffectBase } from "./protos.js"
|
|
27
|
+
import { run } from "./run.js"
|
|
28
|
+
import { share } from "./share.js"
|
|
29
29
|
|
|
30
30
|
export class RefSubjectImpl<R, E, A> extends FxEffectBase<R, E, A, R, E, A> implements RefSubject<R, E, A> {
|
|
31
31
|
readonly [RefSubjectTypeId]: RefSubjectTypeId = RefSubjectTypeId
|
|
@@ -4,12 +4,12 @@ import * as Exit from "effect/Exit"
|
|
|
4
4
|
import * as MutableRef from "effect/MutableRef"
|
|
5
5
|
import * as Option from "effect/Option"
|
|
6
6
|
import * as Scope from "effect/Scope"
|
|
7
|
-
import type { Fx } from "../Fx"
|
|
8
|
-
import type { Sink } from "../Sink"
|
|
9
|
-
import type { Subject } from "../Subject"
|
|
10
|
-
import { fromSink } from "./core"
|
|
11
|
-
import { ToFx } from "./fx-primitive"
|
|
12
|
-
import { RingBuffer } from "./helpers"
|
|
7
|
+
import type { Fx } from "../Fx.js"
|
|
8
|
+
import type { Sink } from "../Sink.js"
|
|
9
|
+
import type { Subject } from "../Subject.js"
|
|
10
|
+
import { fromSink } from "./core.js"
|
|
11
|
+
import { ToFx } from "./fx-primitive.js"
|
|
12
|
+
import { RingBuffer } from "./helpers.js"
|
|
13
13
|
|
|
14
14
|
export function makeSubject<E, A>(): Subject<never, E, A> {
|
|
15
15
|
return new SubjectImpl<E, A>()
|
package/src/internal/core.ts
CHANGED
|
@@ -27,16 +27,16 @@ import {
|
|
|
27
27
|
liftSyncOperator,
|
|
28
28
|
MapEffect,
|
|
29
29
|
TapEffect
|
|
30
|
-
} from "./effect-operator"
|
|
31
|
-
import * as helpers from "./helpers"
|
|
32
|
-
import * as Provide from "./provide"
|
|
33
|
-
import * as strategies from "./strategies"
|
|
34
|
-
import { compileSyncReducer, Filter, FilterMap, Map } from "./sync-operator"
|
|
30
|
+
} from "./effect-operator.js"
|
|
31
|
+
import * as helpers from "./helpers.js"
|
|
32
|
+
import * as Provide from "./provide.js"
|
|
33
|
+
import * as strategies from "./strategies.js"
|
|
34
|
+
import { compileSyncReducer, Filter, FilterMap, Map } from "./sync-operator.js"
|
|
35
35
|
|
|
36
36
|
import type { DurationInput } from "effect/Duration"
|
|
37
37
|
import type { Equivalence } from "effect/Equivalence"
|
|
38
38
|
import type { Runtime } from "effect/Runtime"
|
|
39
|
-
import * as Emitter from "../Emitter"
|
|
39
|
+
import * as Emitter from "../Emitter.js"
|
|
40
40
|
import type {
|
|
41
41
|
FlattenStrategy,
|
|
42
42
|
Fx,
|
|
@@ -45,10 +45,10 @@ import type {
|
|
|
45
45
|
WithEarlyExitParams,
|
|
46
46
|
WithFlattenStrategyParams,
|
|
47
47
|
WithScopedForkParams
|
|
48
|
-
} from "../Fx"
|
|
49
|
-
import * as Sink from "../Sink"
|
|
50
|
-
import { type Bounds, boundsFrom, mergeBounds } from "./bounds"
|
|
51
|
-
import { type InternalEffect, matchEffectPrimitive } from "./effect-primitive"
|
|
48
|
+
} from "../Fx.js"
|
|
49
|
+
import * as Sink from "../Sink.js"
|
|
50
|
+
import { type Bounds, boundsFrom, mergeBounds } from "./bounds.js"
|
|
51
|
+
import { type InternalEffect, matchEffectPrimitive } from "./effect-primitive.js"
|
|
52
52
|
import {
|
|
53
53
|
Empty,
|
|
54
54
|
Fail,
|
|
@@ -65,11 +65,11 @@ import {
|
|
|
65
65
|
WithEarlyExit,
|
|
66
66
|
WithFlattenStrategy,
|
|
67
67
|
WithScopedFork
|
|
68
|
-
} from "./fx-primitive"
|
|
69
|
-
import { adjustTime } from "./helpers"
|
|
70
|
-
import { matchFxInput } from "./matchers"
|
|
71
|
-
import { OnceEffect } from "./protos"
|
|
72
|
-
import { run } from "./run"
|
|
68
|
+
} from "./fx-primitive.js"
|
|
69
|
+
import { adjustTime } from "./helpers.js"
|
|
70
|
+
import { matchFxInput } from "./matchers.js"
|
|
71
|
+
import { OnceEffect } from "./protos.js"
|
|
72
|
+
import { run } from "./run.js"
|
|
73
73
|
|
|
74
74
|
const constUnit = () => Effect.unit
|
|
75
75
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Cause from "effect/Cause"
|
|
2
2
|
import * as Effect from "effect/Effect"
|
|
3
3
|
import * as Option from "effect/Option"
|
|
4
|
-
import { WithContext } from "../Sink"
|
|
5
|
-
import type { SyncOperator } from "./sync-operator"
|
|
4
|
+
import { WithContext } from "../Sink.js"
|
|
5
|
+
import type { SyncOperator } from "./sync-operator.js"
|
|
6
6
|
|
|
7
7
|
// Effect operators are a subset of operators which can be safely fused together assynchronously
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect"
|
|
2
|
-
import type { Fx } from "../Fx"
|
|
3
|
-
import type { Versioned } from "../Versioned"
|
|
4
|
-
import { succeed } from "./core"
|
|
5
|
-
import { FxEffectBase } from "./protos"
|
|
2
|
+
import type { Fx } from "../Fx.js"
|
|
3
|
+
import type { Versioned } from "../Versioned.js"
|
|
4
|
+
import { succeed } from "./core.js"
|
|
5
|
+
import { FxEffectBase } from "./protos.js"
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Construct a Versioned type.
|
|
@@ -2,12 +2,12 @@ import type * as Cause from "effect/Cause"
|
|
|
2
2
|
import type * as Effect from "effect/Effect"
|
|
3
3
|
import type * as Scope from "effect/Scope"
|
|
4
4
|
|
|
5
|
-
import type * as Sink from "../Sink"
|
|
6
|
-
import { type EffectOperator, fuseEffectOperators, liftSyncOperator } from "./effect-operator"
|
|
7
|
-
import * as syncOperator from "./sync-operator"
|
|
5
|
+
import type * as Sink from "../Sink.js"
|
|
6
|
+
import { type EffectOperator, fuseEffectOperators, liftSyncOperator } from "./effect-operator.js"
|
|
7
|
+
import * as syncOperator from "./sync-operator.js"
|
|
8
8
|
|
|
9
|
-
import type { FlattenStrategy, Fx, FxFork, WithEarlyExitParams, WithScopedForkParams } from "../Fx"
|
|
10
|
-
import { FxProto } from "./protos"
|
|
9
|
+
import type { FlattenStrategy, Fx, FxFork, WithEarlyExitParams, WithScopedForkParams } from "../Fx.js"
|
|
10
|
+
import { FxProto } from "./protos.js"
|
|
11
11
|
|
|
12
12
|
export type Primitive =
|
|
13
13
|
| Empty
|
package/src/internal/fx.ts
CHANGED
|
@@ -22,12 +22,12 @@ import type * as Request from "effect/Request"
|
|
|
22
22
|
import type { Scheduler } from "effect/Scheduler"
|
|
23
23
|
import type * as Scope from "effect/Scope"
|
|
24
24
|
import * as Tracer from "effect/Tracer"
|
|
25
|
-
import type { Fx, FxInput } from "../Fx"
|
|
26
|
-
import * as Sink from "../Sink"
|
|
27
|
-
import * as Typeclass from "../Typeclass"
|
|
28
|
-
import * as core from "./core"
|
|
29
|
-
import { run } from "./run"
|
|
30
|
-
import { multicast } from "./share"
|
|
25
|
+
import type { Fx, FxInput } from "../Fx.js"
|
|
26
|
+
import * as Sink from "../Sink.js"
|
|
27
|
+
import * as Typeclass from "../Typeclass.js"
|
|
28
|
+
import * as core from "./core.js"
|
|
29
|
+
import { run } from "./run.js"
|
|
30
|
+
import { multicast } from "./share.js"
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Create an Fx which will emit a value after waiting for a specified duration.
|
package/src/internal/helpers.ts
CHANGED
|
@@ -9,10 +9,10 @@ import * as Ref from "effect/Ref"
|
|
|
9
9
|
import * as Runtime from "effect/Runtime"
|
|
10
10
|
import * as Scope from "effect/Scope"
|
|
11
11
|
import * as SynchronizedRef from "effect/SynchronizedRef"
|
|
12
|
-
import type { FlattenStrategy, FxFork, ScopedFork } from "../Fx"
|
|
13
|
-
import type * as Sink from "../Sink"
|
|
14
|
-
import type { InternalEffect } from "./effect-primitive"
|
|
15
|
-
import { matchEffectPrimitive } from "./effect-primitive"
|
|
12
|
+
import type { FlattenStrategy, FxFork, ScopedFork } from "../Fx.js"
|
|
13
|
+
import type * as Sink from "../Sink.js"
|
|
14
|
+
import type { InternalEffect } from "./effect-primitive.js"
|
|
15
|
+
import { matchEffectPrimitive } from "./effect-primitive.js"
|
|
16
16
|
|
|
17
17
|
export function withScopedFork<R, E, A>(
|
|
18
18
|
f: (fork: ScopedFork, scope: Scope.Scope) => Effect.Effect<R, E, A>
|
package/src/internal/keyed.ts
CHANGED
|
@@ -6,14 +6,14 @@ import * as MutableHashMap from "effect/MutableHashMap"
|
|
|
6
6
|
import * as Option from "effect/Option"
|
|
7
7
|
import * as ReadonlyArray from "effect/ReadonlyArray"
|
|
8
8
|
import * as Scope from "effect/Scope"
|
|
9
|
-
import type * as Fx from "../Fx"
|
|
10
|
-
import { fromEffect, type RefSubject } from "../RefSubject"
|
|
11
|
-
import { WithContext } from "../Sink"
|
|
12
|
-
import type { Subject } from "../Subject"
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { adjustTime } from "./helpers"
|
|
16
|
-
import { run } from "./run"
|
|
9
|
+
import type * as Fx from "../Fx.js"
|
|
10
|
+
import { fromEffect, type RefSubject } from "../RefSubject.js"
|
|
11
|
+
import { WithContext } from "../Sink.js"
|
|
12
|
+
import type { Subject } from "../Subject.js"
|
|
13
|
+
import { makeHoldSubject } from "./core-subject.js"
|
|
14
|
+
import { from, skipRepeatsWith, withScopedFork } from "./core.js"
|
|
15
|
+
import { adjustTime } from "./helpers.js"
|
|
16
|
+
import { run } from "./run.js"
|
|
17
17
|
|
|
18
18
|
export function keyed<R, E, A, B, R2, E2, C>(
|
|
19
19
|
fx: Fx.Fx<R, E, ReadonlyArray<A>>,
|
package/src/internal/matchers.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Cause from "effect/Cause"
|
|
2
2
|
import * as Effect from "effect/Effect"
|
|
3
|
-
import * as TypeId from "../TypeId"
|
|
3
|
+
import * as TypeId from "../TypeId.js"
|
|
4
4
|
|
|
5
|
-
import type * as Sink from "../Sink"
|
|
5
|
+
import type * as Sink from "../Sink.js"
|
|
6
6
|
|
|
7
|
-
import type { Fx, FxInput } from "../Fx"
|
|
8
|
-
import type { RefSubject } from "../RefSubject"
|
|
9
|
-
import type * as Primitive from "./fx-primitive"
|
|
7
|
+
import type { Fx, FxInput } from "../Fx.js"
|
|
8
|
+
import type { RefSubject } from "../RefSubject.js"
|
|
9
|
+
import type * as Primitive from "./fx-primitive.js"
|
|
10
10
|
|
|
11
11
|
export function matchFxPrimitive<B>(
|
|
12
12
|
matchers: {
|
package/src/internal/protos.ts
CHANGED
|
@@ -8,8 +8,8 @@ import { Effectable } from "effect"
|
|
|
8
8
|
import * as Fiber from "effect/Fiber"
|
|
9
9
|
import { NodeInspectSymbol } from "effect/Inspectable"
|
|
10
10
|
import type { Inspectable } from "effect/Inspectable"
|
|
11
|
-
import type { Fx, ToFx } from "../Fx"
|
|
12
|
-
import { TypeId } from "../TypeId"
|
|
11
|
+
import type { Fx, ToFx } from "../Fx.js"
|
|
12
|
+
import { TypeId } from "../TypeId.js"
|
|
13
13
|
|
|
14
14
|
export const Variance: Fx<any, any, any>[TypeId] = {
|
|
15
15
|
_R: identity,
|
package/src/internal/run.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect"
|
|
2
2
|
|
|
3
|
-
import * as Sink from "../Sink"
|
|
4
|
-
import { compileCauseEffectOperatorSink, compileEffectOperatorSink } from "./effect-operator"
|
|
5
|
-
import * as helpers from "./helpers"
|
|
6
|
-
import { compileSyncOperatorFailureSink, compileSyncOperatorSink } from "./sync-operator"
|
|
3
|
+
import * as Sink from "../Sink.js"
|
|
4
|
+
import { compileCauseEffectOperatorSink, compileEffectOperatorSink } from "./effect-operator.js"
|
|
5
|
+
import * as helpers from "./helpers.js"
|
|
6
|
+
import { compileSyncOperatorFailureSink, compileSyncOperatorSink } from "./sync-operator.js"
|
|
7
7
|
|
|
8
|
-
import type { Fx } from "../Fx"
|
|
9
|
-
import { matchFxPrimitive } from "./matchers"
|
|
8
|
+
import type { Fx } from "../Fx.js"
|
|
9
|
+
import { matchFxPrimitive } from "./matchers.js"
|
|
10
10
|
|
|
11
11
|
const constUnit = () => Effect.unit
|
|
12
12
|
|
|
@@ -5,12 +5,12 @@ import { Option } from "effect"
|
|
|
5
5
|
import * as Effect from "effect/Effect"
|
|
6
6
|
import type * as Equivalence from "effect/Equivalence"
|
|
7
7
|
import type * as Scope from "effect/Scope"
|
|
8
|
-
import type { Fx, FxInput } from "../Fx"
|
|
9
|
-
import type { MakeRefSubject, RefSubject, ToRefSubject } from "../RefSubject"
|
|
10
|
-
import { ComputedTypeId, FilteredTypeId, RefSubjectTypeId } from "../TypeId"
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { matchFxInput } from "./matchers"
|
|
8
|
+
import type { Fx, FxInput } from "../Fx.js"
|
|
9
|
+
import type { MakeRefSubject, RefSubject, ToRefSubject } from "../RefSubject.js"
|
|
10
|
+
import { ComputedTypeId, FilteredTypeId, RefSubjectTypeId } from "../TypeId.js"
|
|
11
|
+
import { make, struct } from "./core-ref-subject.js"
|
|
12
|
+
import { map } from "./core.js"
|
|
13
|
+
import { matchFxInput } from "./matchers.js"
|
|
14
14
|
|
|
15
15
|
const makeSchema = <O>(
|
|
16
16
|
f: <R, E>(
|
package/src/internal/share.ts
CHANGED
|
@@ -3,12 +3,12 @@ import * as Fiber from "effect/Fiber"
|
|
|
3
3
|
import { dual } from "effect/Function"
|
|
4
4
|
import * as MutableRef from "effect/MutableRef"
|
|
5
5
|
import * as Option from "effect/Option"
|
|
6
|
-
import type { Fx } from "../Fx"
|
|
7
|
-
import type { Subject } from "../Subject"
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { ToFx } from "./fx-primitive"
|
|
11
|
-
import { run } from "./run"
|
|
6
|
+
import type { Fx } from "../Fx.js"
|
|
7
|
+
import type { Subject } from "../Subject.js"
|
|
8
|
+
import { makeHoldSubject, makeReplaySubject, makeSubject } from "./core-subject.js"
|
|
9
|
+
import { withScopedFork } from "./core.js"
|
|
10
|
+
import { ToFx } from "./fx-primitive.js"
|
|
11
|
+
import { run } from "./run.js"
|
|
12
12
|
|
|
13
13
|
export function share<R, E, A, R2>(
|
|
14
14
|
fx: Fx<R, E, A>,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect"
|
|
2
2
|
import * as Option from "effect/Option"
|
|
3
|
-
import type { Fx } from "../Fx"
|
|
4
|
-
import type { Versioned } from "../Versioned"
|
|
5
|
-
import { MulticastEffect } from "./helpers"
|
|
6
|
-
import { FxEffectBase } from "./protos"
|
|
3
|
+
import type { Fx } from "../Fx.js"
|
|
4
|
+
import type { Versioned } from "../Versioned.js"
|
|
5
|
+
import { MulticastEffect } from "./helpers.js"
|
|
6
|
+
import { FxEffectBase } from "./protos.js"
|
|
7
7
|
|
|
8
8
|
export class VersionedTransform<R0, E0, R, E, A, R2, E2, B, R3, E3, C, R4, E4, D>
|
|
9
9
|
extends FxEffectBase<R3, E3, C, R0 | R4, E0 | E4, D>
|
package/src/internal/withKey.ts
CHANGED
|
@@ -3,12 +3,12 @@ import { equals } from "effect/Equal"
|
|
|
3
3
|
import * as Fiber from "effect/Fiber"
|
|
4
4
|
import * as Option from "effect/Option"
|
|
5
5
|
import * as Scope from "effect/Scope"
|
|
6
|
-
import type { Fx, FxInput } from "../Fx"
|
|
7
|
-
import * as RefSubject from "../RefSubject"
|
|
8
|
-
import * as Sink from "../Sink"
|
|
9
|
-
import * as core from "./core"
|
|
10
|
-
import { adjustTime } from "./helpers"
|
|
11
|
-
import { run } from "./run"
|
|
6
|
+
import type { Fx, FxInput } from "../Fx.js"
|
|
7
|
+
import * as RefSubject from "../RefSubject.js"
|
|
8
|
+
import * as Sink from "../Sink.js"
|
|
9
|
+
import * as core from "./core.js"
|
|
10
|
+
import { adjustTime } from "./helpers.js"
|
|
11
|
+
import { run } from "./run.js"
|
|
12
12
|
|
|
13
13
|
export function withKey<R, E, A, B, R2, E2, C>(
|
|
14
14
|
fx: Fx<R, E, A>,
|