Commit Graph
1568 Commits
Author SHA1 Message Date
Tim 778298e60a fix Iterable types 2024-12-24 19:41:31 +13:00
Tim 022e85903f Merge branch 'main' of https://github.com/Effect-TS/effect-smol 2024-12-24 19:35:38 +13:00
Tim 5461408a33 wip 2024-12-24 19:35:31 +13:00
Maxwell Brown 21546c04ea add more deferred tests (#7) 2024-12-23 22:07:45 -05:00
Tim 730f649d8c wip 2024-12-24 14:11:49 +13:00
Tim 05041ef041 allow R in Deferred.complete 2024-12-24 14:08:48 +13:00
Tim 4e77f98e98 update Channel tests 2024-12-24 14:06:14 +13:00
Tim 4eb21e4037 add test utils 2024-12-24 13:52:01 +13:00
Maxwell BrownandTim 00826ae169 Add failing test for interruption (#6)
* add failing test

* fix test

---------

Co-authored-by: Tim <hello@timsmart.co>
2024-12-24 13:28:00 +13:00
Tim 371c976dce treat internal interruption differently 2024-12-24 10:27:12 +13:00
Tim a8ae78f73b optimize Deferred.await 2024-12-23 11:19:01 +13:00
Tim 935e1218e3 add Deferred 2024-12-23 11:16:39 +13:00
Tim 365314d88d proxy failures 2024-12-23 09:58:28 +13:00
Maxwell Brown 332bc26674 add failing tests (#5) 2024-12-23 09:57:51 +13:00
Maxwell Brown 25d87d20a8 Add failing Channel.mapEffect test (#4) 2024-12-23 09:07:08 +13:00
Tim cfeb00d931 add switchMap test 2024-12-22 22:40:55 +13:00
Tim d0da71f157 wip 2024-12-22 22:37:19 +13:00
Tim e4dd5aa14b add switch to mergeAll 2024-12-22 22:22:28 +13:00
Tim 014b61aa44 Channel.switchMap 2024-12-22 22:03:41 +13:00
Tim f30527acd6 wip 2024-12-22 16:03:17 +13:00
Maxwell Brown 3284a1496c Merge pull request #3 from Effect-TS/feat/merging-tests
Add tests for merging channels
2024-12-21 16:25:54 -05:00
Maxwell Brown b43a409b31 add merge tests 2024-12-21 16:25:01 -05:00
Tim 831a74c20a wip 2024-12-22 09:51:46 +13:00
Tim 53c19c47df use array for stream 2024-12-22 09:48:41 +13:00
Tim b0ff704e2a fix forever predicate 2024-12-22 09:42:01 +13:00
Tim 2b96ee1e6e add autoYield option to .forever 2024-12-22 09:35:56 +13:00
Tim 5fbec0f788 add Channel.ensuring 2024-12-22 09:15:16 +13:00
Tim 874a871471 expose yieldNow / flush 2024-12-22 08:49:24 +13:00
Tim 0e8aad6ed8 Sink.forEach 2024-12-21 23:21:46 +13:00
Tim 7595afb125 add _tag to Halt 2024-12-21 23:11:02 +13:00
Tim 086d5a2904 add Sink 2024-12-21 23:04:04 +13:00
Tim 0d7260d85d export Halt 2024-12-21 22:02:59 +13:00
Tim 7e585a19e8 add back Channel done channel 2024-12-21 21:54:38 +13:00
Tim fb8b757c99 Channel.merge 2024-12-21 20:30:49 +13:00
Tim 7657aa1834 wip 2024-12-21 13:39:49 +13:00
Tim 89963f3dd2 StreamArray test 2024-12-20 16:42:16 +13:00
Tim 58ee08a3ab add some Stream apis 2024-12-20 16:32:40 +13:00
Tim 7bc641c04c setup vitest alias 2024-12-20 15:51:46 +13:00
Tim cc4e84ae3d fix imports 2024-12-20 15:43:26 +13:00
Tim 836ef95a30 Merge branch 'main' of https://github.com/Effect-TS/effect-smol 2024-12-20 15:42:14 +13:00
Tim d22c99bc29 Merge branch 'main' of https://github.com/Effect-TS/effect-smol 2024-12-20 15:42:06 +13:00
Maxwell Brown 86f8d39bbf Merge pull request #2 from Effect-TS/feat/vitest
Add simple vitest setup
2024-12-19 21:41:33 -05:00
Maxwell Brown b53c51270f add simple test 2024-12-19 21:41:00 -05:00
Tim 84d7242028 swap Channel type params 2024-12-20 15:40:34 +13:00
Maxwell Brown d676ce78f4 add test infra 2024-12-19 21:35:23 -05:00
Maxwell Brown 717bf7c293 Merge pull request #1 from Effect-TS/feat/eslint
Add ESLint configuration
2024-12-19 21:29:01 -05:00
Maxwell Brown f1995d3c96 fix core import 2024-12-19 21:28:49 -05:00
Maxwell Brown 867a95dcc0 fix errors in core and channel 2024-12-19 21:27:13 -05:00
Maxwell Brown ceb147a2dd add eslint configuration 2024-12-19 21:26:33 -05:00
Tim 1f724e8891 cleanup 2024-12-20 15:19:06 +13:00