Commit graph

10 commits

Author SHA1 Message Date
Simon Cruanes
22298495e2
mor efixes 2025-12-04 21:10:21 -05:00
Simon Cruanes
c5b2269aab
refactor thoroughly ambient-context
we have a new explicit `Storage.t` interface, that can be used to
get a `Context.t` (a hmap) and to locally swap it; then we have multiple
implementations of the Storage; and then we have a singleton atomic
containing the "main" storage.
2025-12-04 00:23:23 -05:00
Shon Feder
fb4795a44c
Fix an unused value warning
Fixes

```
File "src/ambient-context/eio/opentelemetry_ambient_context_eio.ml", line 1, characters 0-33:
1 | module TLS = Thread_local_storage
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 60 [unused-module]: unused module TLS.
```
2025-06-07 11:28:52 -04:00
Simon Cruanes
51af3a4105
format 2025-05-05 14:41:20 -04:00
Simon Cruanes
076f39b1be
remove optional dep on rcontext 2024-10-04 21:02:39 -04:00
Simon Cruanes
7629e419c8
format 2024-09-20 09:22:13 -04:00
Simon Cruanes
a9971e4d41
eio local storage 2024-09-06 09:48:06 -04:00
Simon Cruanes
1bcea95ed9
feat: lwt backend 2024-09-06 09:43:56 -04:00
Simon Cruanes
faa0808034
wip 2024-09-06 07:48:54 -04:00
Simon Cruanes
9584a7426f
wip: inline ambient-context into opentelemetry 2024-09-05 16:11:09 -04:00