repos / starfx

supercharged async flow control library.
git clone https://github.com/neurosnap/starfx.git

commit
2086bda
parent
549d50a
author
Eric Bower
date
2023-10-13 20:19:13 +0000 UTC
fix(redux): `poll` supervisor correct call sig
2 files changed,  +1, -67
M deno.lock
+0, -66
 1@@ -109,70 +109,6 @@
 2     "https://deno.land/x/dnt@0.38.1/lib/utils.ts": "878b7ac7003a10c16e6061aa49dbef9b42bd43174853ebffc9b67ea47eeb11d8",
 3     "https://deno.land/x/dnt@0.38.1/mod.ts": "b13349fe77847cf58e26b40bcd58797a8cec5d71b31a1ca567071329c8489de1",
 4     "https://deno.land/x/dnt@0.38.1/transform.ts": "f68743a14cf9bf53bfc9c81073871d69d447a7f9e3453e0447ca2fb78926bb1d",
 5-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/abort-signal.ts": "31224b5f61f1ef58a2acf72bfc1cb9c9bf589f15c263b6555eb06f1b49f77b54",
 6-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/all.ts": "acadab8258228e290192f587c8c532428f9093337a9b7688ae55cbc2cacd5caf",
 7-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/async.ts": "3e007ef245abb240de07029f523c7ef74b9bc383db5716f89d261a5150295777",
 8-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/call.ts": "69c465573031e6315e375c17e01e820239e01a93107866dd9f5ef584b79d13dd",
 9-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/channel.ts": "405659d3453dcc0e3ac4190c38bf9a1140f0a4ef4981985ce3564c7aadba67e9",
10-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/context.ts": "108989ac839d6756e30f6c0afc458bfa3975dd0f970d5173b6b8f8473ce4c335",
11-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/deps.ts": "91062b4b97089a8cf36550d4f9605d325a0fd19bebc72d15524481a3b56ea669",
12-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/each.ts": "756f82d8b4ec43623776416b6de6558e7584bbfd437a6a35d44e088667842d32",
13-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/events.ts": "787b666c5f9fcb8b175a9bcbfdabbfb7b1283da35163fd1f75caf11dd96c2fc0",
14-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/filter.ts": "ad3ba0ce59923306620da410393c8f248fb9885a55c8cbd1f3670521cd96cc68",
15-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/first.ts": "6dfacc67b5c6b11bf1df1cf272491ed24a88431ea2eb8a36216b848fbfbe2e8e",
16-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/future.ts": "7800fde82168c9be4644ec9d2fe532b35a8300baf34a8e1673c6fe6067365bfc",
17-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/instructions.ts": "d1c1c71b0d28770bf50591750895d6c0f9e8a85eba893543c6c895b5a8cb48f7",
18-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/lazy.ts": "92ea526c5ad7d88290f2a87168e038d482f97421379508d85cf2e049ee60639b",
19-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/log.ts": "312b6fb4226be5554b945bc9eb7b05ed7b2dd53dd139ca86971bef256eb78997",
20-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/main.ts": "03c815f68c561ca2564cf0ebf073d9080a42cc8d2fd087c1c2efc71add0f9aac",
21-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/map.ts": "26184b51211c87e37396f336c7a8212ea46d9fdea210df208127a6394eee69f9",
22-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/mod.ts": "05585daea3f16b2fc720b0ed9e5e758c8b60fc802ec32fcad70096f29a71d0e9",
23-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/op.ts": "483465a66fb9fa7529eb8cafbaf94c085b1a5e72876e5d34e44cd4f875b2141b",
24-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/pipe.ts": "4a28fa93a1ba53661bafb84265f3fcb5614920bbecc0db1c261e1093da3b2cdf",
25-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/result.ts": "41414d8f376f73c95483982fe81fe9c256a6d836f9b2e4ae31d1a6fc09dec69d",
26-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/run.ts": "25523b60a9b5cd64be2f4502062c1d04d8281e2c9cb088ae178e31f2e47ff37e",
27-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/run/block.ts": "3647f52a4a5b9f7747b78918e70bb8e255030b994285d685850d91e7dcc8c71c",
28-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/run/create.ts": "be9139af2fbe15908256d2d159dec8dca079f94cf02d488074c94fa26fc651fa",
29-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/run/event-stream.ts": "8c6d40bf315652535a85aa02a61256678dc4e537a4fb436fbe5fecdad794c076",
30-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/run/frame.ts": "508ec136d72dbc704c5bc7ccedf579094e5d3057cea7c1ed04b36608599d52b0",
31-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/run/scope.ts": "358f89062c1d49f8bd8b49c9145c46ad84a8e521711b07ee47bec1cac9836d7c",
32-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/sleep.ts": "d7000c05ace8143efd80f1e35243f5521316bc334e4051afe692e1a0c7268304",
33-    "https://deno.land/x/effection@3.0.0-alpha.13/lib/types.ts": "87787b9280ad041eaf7cbbfc1986260764590c01af6f79535b61b5ce4262052e",
34-    "https://deno.land/x/effection@3.0.0-alpha.13/mod.ts": "ffae461c16d4a1bf24c2179582ab8d5c81ad0df61e4ae2fba51ef5e5bdf90345",
35-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/abort-signal.ts": "31224b5f61f1ef58a2acf72bfc1cb9c9bf589f15c263b6555eb06f1b49f77b54",
36-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/all.ts": "acadab8258228e290192f587c8c532428f9093337a9b7688ae55cbc2cacd5caf",
37-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/async.ts": "3e007ef245abb240de07029f523c7ef74b9bc383db5716f89d261a5150295777",
38-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/call.ts": "69c465573031e6315e375c17e01e820239e01a93107866dd9f5ef584b79d13dd",
39-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/channel.ts": "cdd48c80c05dfbd9b248bd50bf16a80f973e51b5e35b219386e82a65eb4477b6",
40-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/context.ts": "108989ac839d6756e30f6c0afc458bfa3975dd0f970d5173b6b8f8473ce4c335",
41-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/deps.ts": "91062b4b97089a8cf36550d4f9605d325a0fd19bebc72d15524481a3b56ea669",
42-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/each.ts": "756f82d8b4ec43623776416b6de6558e7584bbfd437a6a35d44e088667842d32",
43-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/ensure.ts": "c3640cc12c1bc747a8a4086af476840db026d04ea22f45a697d53617b2b1cc66",
44-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/events.ts": "a69c69bf61b197a39a9393d8da4d9f5e47afd1039dbdfa8e8953574a919b961d",
45-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/filter.ts": "ad3ba0ce59923306620da410393c8f248fb9885a55c8cbd1f3670521cd96cc68",
46-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/first.ts": "6dfacc67b5c6b11bf1df1cf272491ed24a88431ea2eb8a36216b848fbfbe2e8e",
47-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/future.ts": "7800fde82168c9be4644ec9d2fe532b35a8300baf34a8e1673c6fe6067365bfc",
48-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/instructions.ts": "d1c1c71b0d28770bf50591750895d6c0f9e8a85eba893543c6c895b5a8cb48f7",
49-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/lazy.ts": "92ea526c5ad7d88290f2a87168e038d482f97421379508d85cf2e049ee60639b",
50-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/log.ts": "312b6fb4226be5554b945bc9eb7b05ed7b2dd53dd139ca86971bef256eb78997",
51-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/main.ts": "a0deaf1d1d958ef7a5821d8ac3dfbd190a47608d603798a5fc3b0c2309a724da",
52-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/map.ts": "26184b51211c87e37396f336c7a8212ea46d9fdea210df208127a6394eee69f9",
53-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/mod.ts": "fa9d6c5f3b630113615444efcb60845bb08aede2371cef1dde4460e4401e62e6",
54-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/op.ts": "483465a66fb9fa7529eb8cafbaf94c085b1a5e72876e5d34e44cd4f875b2141b",
55-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/pipe.ts": "4a28fa93a1ba53661bafb84265f3fcb5614920bbecc0db1c261e1093da3b2cdf",
56-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/queue.ts": "d64a3a4c5a4ec4e6a0570852654f4c1c4aba40f6ef03d45062855b62c2de4703",
57-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/race.ts": "0c43f24ce5006768f5cbac8d6f5dc07848bafa625cc0bc6c24fb6a2f2a8808f2",
58-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/result.ts": "41414d8f376f73c95483982fe81fe9c256a6d836f9b2e4ae31d1a6fc09dec69d",
59-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/run.ts": "25523b60a9b5cd64be2f4502062c1d04d8281e2c9cb088ae178e31f2e47ff37e",
60-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/run/block.ts": "3647f52a4a5b9f7747b78918e70bb8e255030b994285d685850d91e7dcc8c71c",
61-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/run/create.ts": "be9139af2fbe15908256d2d159dec8dca079f94cf02d488074c94fa26fc651fa",
62-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/run/event-stream.ts": "8c6d40bf315652535a85aa02a61256678dc4e537a4fb436fbe5fecdad794c076",
63-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/run/frame.ts": "508ec136d72dbc704c5bc7ccedf579094e5d3057cea7c1ed04b36608599d52b0",
64-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/run/scope.ts": "358f89062c1d49f8bd8b49c9145c46ad84a8e521711b07ee47bec1cac9836d7c",
65-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/signal.ts": "1501d13af4e3f9bb7746e7c0f25d6935b28e2aeffe8b68d3a2875dbc14810a0a",
66-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/sleep.ts": "d7000c05ace8143efd80f1e35243f5521316bc334e4051afe692e1a0c7268304",
67-    "https://deno.land/x/effection@3.0.0-alpha.14/lib/types.ts": "6bc4c99c58b258ce23be0cfe0e5f18fd0b55392ed22f512d67ce8a614a965007",
68-    "https://deno.land/x/effection@3.0.0-alpha.14/mod.ts": "ffae461c16d4a1bf24c2179582ab8d5c81ad0df61e4ae2fba51ef5e5bdf90345",
69     "https://deno.land/x/effection@3.0.0-beta.0/lib/abort-signal.ts": "8be1b331b2bc417d70fe4c07e0b806e89972b8eab519ce58beed7ec632ae9048",
70     "https://deno.land/x/effection@3.0.0-beta.0/lib/all.ts": "acadab8258228e290192f587c8c532428f9093337a9b7688ae55cbc2cacd5caf",
71     "https://deno.land/x/effection@3.0.0-beta.0/lib/async.ts": "3e007ef245abb240de07029f523c7ef74b9bc383db5716f89d261a5150295777",
72@@ -227,7 +163,6 @@
73     "https://esm.sh/redux-batched-actions@0.5.0?pin=v122": "bb9ba7abde4cbba4352e5d25cf8407795f962e6f7c47b59657ee91834fd6744c",
74     "https://esm.sh/redux@4.2.1?pin=v122": "94f9684721d9f8f48f86778e03f237c00d771283a8533a1e63000e7539f3a303",
75     "https://esm.sh/reselect@4.1.8?pin=v122": "486407fec8db8f0c87ba540ff6457dbec3c8ec8fa93a4845383bc8cdb33c6008",
76-    "https://esm.sh/robodux@15.0.1?pin=v122": "51ac2aa6f6fbaac2795f3d34117ba7e77c37e9e3e48bf667a994f6851399bf76",
77     "https://esm.sh/robodux@15.0.2?pin=v122": "0311191f385c627ec97a15dc147cbad4367e09169eb1b591a6992b5d707f1446",
78     "https://esm.sh/stable/react@18.2.0/denonext/react.mjs": "3c4f23bcfc53b256fcfaf6f834fa9f584c3bb7be667b2682c6cb6ba8ef88f8e6",
79     "https://esm.sh/v122/@babel/runtime@7.22.5/denonext/helpers/esm/extends.js": "3955a0ef35db01cd4efff831a9027924f90fa7d55621cd2b6b8519283e573c21",
80@@ -243,7 +178,6 @@
81     "https://esm.sh/v122/redux-batched-actions@0.5.0/denonext/redux-batched-actions.mjs": "d115abd3bef58a81bb57be5ec013377fa841e9f6cea152f2851560a8e23a032f",
82     "https://esm.sh/v122/redux@4.2.1/denonext/redux.mjs": "8269d22284abebf2be1bbbbbcc53d1842b7858102f1f81e7df1d0144b688f5a4",
83     "https://esm.sh/v122/reselect@4.1.8/denonext/reselect.mjs": "f8199f9e44453876a9ea6b5d1caedc0fe1ae789a73217543b1e6193e1edc0db7",
84-    "https://esm.sh/v122/robodux@15.0.1/denonext/robodux.mjs": "31ba627f958ded9bdcaa7db1bd9bd57f610bb0cbefd871e1286e578f9a7c719a",
85     "https://esm.sh/v122/robodux@15.0.2/denonext/robodux.mjs": "0f0f70b29b3058fb973f3273f89cc81cc6e050752f9fd0cc1c2b8cc13a40fe57",
86     "https://esm.sh/v122/scheduler@0.23.0/denonext/scheduler.mjs": "69005eb830c0a486d51875e52d1a85443dc8d32b0b6ad1e3f06baceb55ed4cba",
87     "https://esm.sh/v122/use-sync-external-store@1.2.0/denonext/cjs/use-sync-external-store-shim.production.min.js": "5be7011cae1c9c79ad30989c95370a6d97083e01bb98ba76a333347e03af85db",
M redux/supervisor.ts
+1, -1
1@@ -28,7 +28,7 @@ export function poll(
2       const action = yield* take<{ timer?: number }>(actionType);
3       const timer = action.payload?.timer || parentTimer;
4       yield* race({
5-        fire: () => call(() => fire(action, timer)),
6+        fire: () => fire(action, timer),
7         cancel: () => take(`${cancel}`),
8       });
9     }