Commit Graph
1545 Commits
Author SHA1 Message Date
Tim ba6c713998 use flatten for concat 2024-12-30 13:49:46 +13:00
Maxwell BrownandTim 803542efb7 Add failing test for take (#11)
* add failing test for take

* fix takeUntil done signal

* fix test

* handle take < 1

* use .concat for take short-circuits test

---------

Co-authored-by: Tim <hello@timsmart.co>
2024-12-30 13:24:31 +13:00
Tim 937fd3ad43 add concat apis 2024-12-30 12:50:51 +13:00
Tim e6ffdc6cce wip 2024-12-29 22:19:05 +13:00
Tim 63c1adfe61 dedupe span links 2024-12-29 21:03:42 +13:00
Tim ff1d237d06 remove _tag from SpanLink 2024-12-29 20:54:39 +13:00
Tim 39137c9feb add tracer middleware in withTracerScoped 2024-12-29 20:51:23 +13:00
Tim 45e8d86c69 expose tracer apis 2024-12-29 20:49:56 +13:00
Tim 44226e70e7 tracing apis 2024-12-29 20:00:20 +13:00
Tim 3b9d63d78a use clock 2024-12-29 19:30:34 +13:00
Tim fd0da6bc29 use fiber.getRef 2024-12-29 18:21:19 +13:00
Tim 5f27173f25 remove servicr symbols 2024-12-29 18:17:48 +13:00
Tim a632fc1031 default services wip 2024-12-29 18:06:03 +13:00
Tim e950f19249 time based batching (#9)
* time based batching

* wip

* add bench

* optimize request map creation

* move context type to requests

* use constructor pattern for Request tests
2024-12-29 15:57:34 +13:00
Tim f15d11db21 s/fork/forkIn 2024-12-28 21:04:45 +13:00
Tim a48e1e09e8 optimize unordered 2024-12-28 21:01:32 +13:00
Maxwell BrownandTim 01aec91f00 Add more Channel tests (#10)
* add Channel.range

* move Channel.range to Stream.range

* fix Stream.take

* fork map fiber into forked scope

* start tests for Stream.take

* wip

---------

Co-authored-by: Tim <hello@timsmart.co>
2024-12-28 20:38:41 +13:00
Tim e3d02255c4 fix interrupt behaviour of Channel.mapEffect 2024-12-28 20:20:48 +13:00
Tim 714b39604b more take apis 2024-12-26 21:57:08 +13:00
Tim 2bd8df76f0 optimize unordered mapEffect 2024-12-26 14:45:47 +13:00
Tim 9f4fed110f remove semaphore from mapEffect ordered 2024-12-26 13:29:02 +13:00
Tim 66a4b8ac5a take / drop 2024-12-26 11:17:17 +13:00
Tim 687c0e9485 fix mapEffect ordered 2024-12-26 10:06:55 +13:00
Tim 09752b78c4 ordered mapEffect 2024-12-26 00:54:41 +13:00
Tim f9c903bcd8 timeout inherit context 2024-12-25 00:09:47 +13:00
Tim 9e26bd99b1 create child scopes for merged channels 2024-12-24 20:57:07 +13:00
Tim 04aa2d8d30 add some Effect tests 2024-12-24 20:30:36 +13:00
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