(r: AsyncResult.AsyncResult<any, any>, staleTimeMs: number)
| 292 | ): Effect.Effect<void> => |
| 293 | Effect.currentParentSpan.pipe( |
| 294 | Effect.tap((span) => Effect.sync(() => setAtomQueryParentSpan(atom, span))), |
| 295 | Effect.ignore |
| 296 | ) |
| 297 | |
| 298 | export const refreshAtomWithCurrentSpan = <A, E>( |
| 299 | registry: AtomRegistry.AtomRegistry, |
| 300 | atom: Atom.Atom<AsyncResult.AsyncResult<A, E>> |
| 301 | ): Effect.Effect<void> => |
| 302 | captureAtomQueryParentSpan(atom).pipe( |
| 303 | Effect.andThen(Effect.sync(() => registry.refresh(atom))) |
| 304 | ) |
| 305 | |
| 306 | const setAtomQueryMetadata = <A, E>( |
no test coverage detected
searching dependent graphs…