MCPcopy Index your code
hub / github.com/datner/react-effect / annotated

Function annotated

test/utils/cause.ts:20–24  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

18 const interrupt = fiberId.map(Cause.interrupt)
19
20 const annotated = (n: number): fc.Arbitrary<Cause.Cause<E>> => {
21 return fc.tuple(causesN(n - 1), fc.anything()).map(
22 ([cause, annotation]) => Cause.annotated(cause, annotation)
23 )
24 }
25
26 const sequential = (n: number): fc.Arbitrary<Cause.Cause<E>> => {
27 return fc.integer({ min: 1, max: n - 1 }).chain((i) =>

Callers 1

causesNFunction · 0.85

Calls 1

causesNFunction · 0.85

Tested by

no test coverage detected