Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Jun 20, 2023
1 parent 2d07610 commit ac34125
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/modules/DefaultServices.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Added in v1.0.0
**Signature**
```ts
export type DefaultServices = Clock.Clock | Random.Random | ConfigProvider.ConfigProvider
export type DefaultServices = Clock.Clock | Random.Random | ConfigProvider.ConfigProvider | Tracer.Tracer
```
Added in v1.0.0
23 changes: 19 additions & 4 deletions docs/modules/Tracer.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Added in v1.0.0

<h2 class="text-delta">Table of contents</h2>

- [constructors](#constructors)
- [tracerWith](#tracerwith)
- [utils](#utils)
- [ExternalSpan (interface)](#externalspan-interface)
- [ParentSpan (type alias)](#parentspan-type-alias)
Expand All @@ -28,6 +30,18 @@ Added in v1.0.0

---

# constructors

## tracerWith

**Signature**

```ts
export declare const tracerWith: <R, E, A>(f: (tracer: Tracer) => Effect.Effect<R, E, A>) => Effect.Effect<R, E, A>
```
Added in v1.0.0
# utils
## ExternalSpan (interface)
Expand Down Expand Up @@ -181,13 +195,14 @@ Added in v1.0.0
```ts
export declare const withSpan: {
(name: string, options?: { attributes?: Record<string, string>; parent?: ParentSpan; root?: boolean }): <R, E, A>(
self: Effect.Effect<R, E, A>
) => Effect.Effect<R, E, A>
(
name: string,
options?: { attributes?: Record<string, string> | undefined; parent?: ParentSpan; root?: boolean } | undefined
): <R, E, A>(self: Effect.Effect<R, E, A>) => Effect.Effect<R, E, A>
<R, E, A>(
self: Effect.Effect<R, E, A>,
name: string,
options?: { attributes?: Record<string, string>; parent?: ParentSpan; root?: boolean }
options?: { attributes?: Record<string, string> | undefined; parent?: ParentSpan; root?: boolean } | undefined
): Effect.Effect<R, E, A>
}
```
Expand Down

0 comments on commit ac34125

Please sign in to comment.