Commit Graph
12205 Commits
Author SHA1 Message Date
Tim 44226e70e7 tracing apis 2024-12-29 20:00:20 +13:00
Tim 3b9d63d78a use clock 2024-12-29 19:30:34 +13:00
Jesse Kelly 8b46be6a3b incorrect type declaration in LibsqlClient.layer (#4185) 2024-12-29 18:33:13 +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
Giulio Canti 43267412c1 add missing internal tag (#4198) 2024-12-28 12:08:52 +01: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
Michael Arnaldi 39db211414 Avoid putting symbols in global to fix incompatibility with Temporal Sandbox. (#4196) 2024-12-27 14:00:14 +01:00
Maxim Khramtsov 302b57d2cb [bugfix] concurrentFinalizers in Effect.all implementation (#4194) 2024-12-26 20:08:13 +01: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
Maxwell Brown 16dd657033 extend IterableIterator instead of Generator (#4190) 2024-12-25 12:16:54 -05:00
Tim 09752b78c4 ordered mapEffect 2024-12-26 00:54:41 +13:00
Tim bfe802734b ensure Effect.timeoutTo sleep is interrupted (#4189) 2024-12-25 17:06:48 +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
github-actions[bot]andgithub-actions[bot] df82e92d08 Version Packages (#4184)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@effect/printer@0.40.0 @effect/platform@0.72.0 @effect/sql-sqlite-node@0.26.0 @effect/sql-sqlite-react-native@0.28.0 @effect/ai@0.5.0 @effect/sql-sqlite-wasm@0.26.0 @effect/sql@0.25.0 @effect/typeclass@0.31.0 @effect/vitest@0.16.0 effect@3.12.0 @effect/cli@0.51.0 @effect/cluster-browser@0.15.0 @effect/cluster-node@0.22.0 @effect/cluster-workflow@0.20.0 @effect/cluster@0.21.0 @effect/experimental@0.36.0 @effect/opentelemetry@0.42.0 @effect/platform-browser@0.51.0 @effect/platform-bun@0.52.0 @effect/platform-node-shared@0.22.0 @effect/platform-node@0.68.0 @effect/ai-openai@0.8.0 @effect/printer-ansi@0.40.0 @effect/sql-sqlite-do@0.3.0 @effect/rpc-http@0.45.0 @effect/rpc@0.47.0 @effect/sql-clickhouse@0.10.0 @effect/sql-d1@0.23.0 @effect/sql-drizzle@0.24.0 @effect/sql-kysely@0.21.0 @effect/sql-libsql@0.15.0 @effect/sql-mssql@0.26.0 @effect/sql-mysql2@0.26.0 @effect/sql-pg@0.26.0 @effect/sql-sqlite-bun@0.26.0
2024-12-23 11:30:31 +13:00
Tim c9926402a4 fix vitest .prop with objects 2024-12-23 11:19:30 +13:00
Tim ef64c6fec0 remove generics from HttpClient tag service (#4169) 2024-12-23 11:19:30 +13:00
Michael ArnaldiandTim e1eeb2d706 Carry both call-site and definition site in Effect.fn, auto-trace to anon (#4155)
Co-authored-by: Tim <hello@timsmart.co>
2024-12-23 11:19:30 +13:00
Samuel BrioleandGiulio Canti 73f9c6f2ff add DateTimeUtcFromDate schema (#3956)
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
2024-12-23 11:19:30 +13:00
Dapper Mink c11f3a60a0 Add Context.mergeAll (#4135) 2024-12-23 11:19:30 +13:00
Tim 618f7e092a add span annotation to disable propagation to the tracer (#4123) 2024-12-23 11:19:30 +13:00
Titouan CREACHandSebastian Lorenz abb22a429b add UriComponent schemas and encoding (#3982)
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com>
2024-12-23 11:19:30 +13:00
Sebastian Lorenz d80182060c added Cron.unsafeParse and allow passing the tz parameter as string (#4106) 2024-12-23 11:19:30 +13:00
Sebastian Lorenz 17cb451459 add second granularity to Cron (#4088) 2024-12-23 11:19:30 +13:00
Michael Arnaldi 3d2b7a7e94 Allow passing fast-check parameters to prop function (#4099) 2024-12-23 11:19:30 +13:00
Titouan CREACHandGiulio Canti c0ba834d19 add Schema.headNonEmpty on Schema.NonEmptyArray (#3983)
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
2024-12-23 11:19:30 +13:00
Tim 642376c63f add non-traced overload to Effect.fn (#4077) 2024-12-23 11:19:30 +13:00
Vincent François f369a89e98 feat: add runtime type extractor (#4020) 2024-12-23 11:19:30 +13:00
Tim a8ae78f73b optimize Deferred.await 2024-12-23 11:19:01 +13:00