@ersbeth/picoflow 2.0.1 → 2.0.2

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.
@@ -25,7 +25,7 @@ export type FlowDataTracker<T> = (t: FlowTracker) => T;
25
25
  *
26
26
  * @public
27
27
  */
28
- export type FlowOnDataListener<T> = (data: T) => undefined;
28
+ export type FlowOnDataListener<T> = (data: T) => void;
29
29
  /**
30
30
  * Callback invoked when an error occurs during effect execution.
31
31
  *
@@ -38,7 +38,7 @@ export type FlowOnDataListener<T> = (data: T) => undefined;
38
38
  *
39
39
  * @public
40
40
  */
41
- export type FlowOnErrorListener = (error: Error) => undefined;
41
+ export type FlowOnErrorListener = (error: Error) => void;
42
42
  /**
43
43
  * Callback invoked when an async computation is pending.
44
44
  *
@@ -50,7 +50,7 @@ export type FlowOnErrorListener = (error: Error) => undefined;
50
50
  *
51
51
  * @public
52
52
  */
53
- export type FlowOnPendingListener = () => undefined;
53
+ export type FlowOnPendingListener = () => void;
54
54
  /**
55
55
  * Contract for observables that can be subscribed to with lifecycle callbacks.
56
56
  *
@@ -1 +1 @@
1
- {"version":3,"file":"flowSubscribable.d.ts","sourceRoot":"","sources":["../../../../src/api/base/flowSubscribable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,WAAW,KAAK,CAAC,CAAC;AAEvD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,CAAC;AAE3D;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,SAAS,CAAC;AAE9D;;;;;;;;;;GAUG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,SAAS,CAAC;AAEpD;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAgB,CAAC,CAAC;IAC/B;;;;;;;;;;;;OAYG;IACH,SAAS,CACL,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAC7B,OAAO,CAAC,EAAE,mBAAmB,EAC7B,SAAS,CAAC,EAAE,qBAAqB,GAClC,UAAU,CAAC;CACjB"}
1
+ {"version":3,"file":"flowSubscribable.d.ts","sourceRoot":"","sources":["../../../../src/api/base/flowSubscribable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,WAAW,KAAK,CAAC,CAAC;AAEvD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;AAEtD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;AAEzD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,IAAI,CAAC;AAE/C;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAgB,CAAC,CAAC;IAC/B;;;;;;;;;;;;OAYG;IACH,SAAS,CACL,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAC7B,OAAO,CAAC,EAAE,mBAAmB,EAC7B,SAAS,CAAC,EAAE,qBAAqB,GAClC,UAAU,CAAC;CACjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ersbeth/picoflow",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Minimal Dataflow library for TypeScript",
5
5
  "type": "module",
6
6
  "exports": {
@@ -27,7 +27,7 @@ export type FlowDataTracker<T> = (t: FlowTracker) => T;
27
27
  *
28
28
  * @public
29
29
  */
30
- export type FlowOnDataListener<T> = (data: T) => undefined;
30
+ export type FlowOnDataListener<T> = (data: T) => void;
31
31
 
32
32
  /**
33
33
  * Callback invoked when an error occurs during effect execution.
@@ -41,7 +41,7 @@ export type FlowOnDataListener<T> = (data: T) => undefined;
41
41
  *
42
42
  * @public
43
43
  */
44
- export type FlowOnErrorListener = (error: Error) => undefined;
44
+ export type FlowOnErrorListener = (error: Error) => void;
45
45
 
46
46
  /**
47
47
  * Callback invoked when an async computation is pending.
@@ -54,7 +54,7 @@ export type FlowOnErrorListener = (error: Error) => undefined;
54
54
  *
55
55
  * @public
56
56
  */
57
- export type FlowOnPendingListener = () => undefined;
57
+ export type FlowOnPendingListener = () => void;
58
58
 
59
59
  /**
60
60
  * Contract for observables that can be subscribed to with lifecycle callbacks.