Tim
e1bfd619ef
add logs to spans as events
2025-01-05 13:24:21 +13:00
Tim
51f9d6173d
stream paginate apis
2025-01-04 21:02:19 +13:00
Tim
adf138b8f6
revert scratchpad/channel.ts
2025-01-04 20:35:39 +13:00
Tim
4a3c01d299
fix forkIn interruption
2025-01-04 20:33:48 +13:00
Tim
e5e40eb02f
speed up Effect tests
2025-01-04 20:00:57 +13:00
Tim
0b9f79cdcb
simplify TestClock
2025-01-04 19:57:54 +13:00
Tim
2297f8cdbe
fix TestClock remaining
2025-01-04 17:47:21 +13:00
Michael Arnaldi
02c5f5c4c9
Use explicit prototype for Fiber ( #16 )
2025-01-04 16:09:34 +13:00
Tim
61dbbf2832
add runSemaphore
2025-01-04 16:05:06 +13:00
Maxwell Brown
72d33c1980
Add logging ( #15 )
2025-01-04 15:58:05 +13:00
Maxwell Brown
f10c89e171
Add basic workflow for running tests ( #19 )
...
* add basic testing workflow
* give token read permissions
2025-01-03 14:49:04 -05:00
Tim
15f2c8af5a
layer wip
2025-01-03 23:09:19 +13:00
Tim
db40a8bbc6
trim fromBuildMemo
2025-01-03 22:56:30 +13:00
Tim
98abc6f028
add layer ( #17 )
...
* add layer
* wip
* wip
2025-01-03 22:25:57 +13:00
Maxwell Brown
cc36818bbd
Initial work on TestClock ( #14 )
...
* initial work on test clock
* simplify getting live clock
* fix doc string
* remove unnecessary assignment
* use Effect module instead of core
2025-01-03 08:38:33 +13:00
Tim
6a0ca8d134
Revert "move keepAlive to fiber yields"
...
This reverts commit da0f24a6b8 .
2025-01-01 22:33:01 +13:00
Tim
da0f24a6b8
move keepAlive to fiber yields
2025-01-01 11:17:19 +13:00
Tim
83a0b495f4
simplify never
2025-01-01 11:03:51 +13:00
Michael Arnaldi and Tim
31834c5a90
Keep process alive when fibers are running ( #13 )
...
* Keep process alive when fibers are running
* No longer needing to add a handle in `Effect.never`
* wip
---------
Co-authored-by: Tim <hello@timsmart.co >
2025-01-01 10:41:35 +13:00
Tim
a455ff044d
remove CompletedRequestMap
2025-01-01 10:25:49 +13:00
Tim
7505bf9efe
improve type safety by completing entries instead
2025-01-01 10:21:43 +13:00
Tim
9aaf184cb0
handle duplicate requests
2024-12-31 09:09:31 +13:00
Maxwell Brown
c3c103b0f2
fix dual check in Stream.takeUntilEffect ( #12 )
2024-12-30 09:40:03 -05:00
Tim
e71f58b118
wip
2024-12-30 21:37:33 +13:00
Tim
dd21a8fb5f
optimize request completion
2024-12-30 21:26:42 +13:00
Tim
ba6c713998
use flatten for concat
2024-12-30 13:49:46 +13:00
Maxwell Brown and Tim
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 Brown and Tim
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