MCPcopy Create free account
hub / github.com/datner/react-effect / Foo

Interface Foo

test/hooks/useResult.ts:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import { describe, expect, it } from "vitest"
9
10interface Foo {
11 value: number
12}
13const foo = Context.Tag<Foo>()
14
15const { useResult } = RuntimeProvider.makeFromLayer(Layer.succeed(foo, { value: 1 }))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected