MCPcopy Create free account
hub / github.com/Snowflyt/tinyeffect / getUserPosts2

Function getUserPosts2

test/README.example.proof.ts:981–985  ·  view source on GitHub ↗
(userId: number)

Source from the content-addressed store, hash-verified

979 );
980
981 const getUserPosts2 = (userId: number) =>
982 fetchUser(userId).andThen((user) => {
983 if (!user) return null;
984 return fetchPosts(user.id);
985 });
986
987 expect(getUserPosts2).to(
988 equal<

Callers

nothing calls this directly

Calls 2

fetchUserFunction · 0.70
andThenMethod · 0.65

Tested by

no test coverage detected