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

Function fetchUser

test/README.example.spec.ts:1311–1311  ·  view source on GitHub ↗
(userId: number)

Source from the content-addressed store, hash-verified

1309 // Test object syntax example
1310 {
1311 const fetchUser = (userId: number) => Effected.of({ id: userId, name: `User ${userId}` });
1312 const fetchUserPosts = (userId: number) =>
1313 Effected.of([{ id: 1, title: `Post for ${userId}` }]);
1314 const fetchUserSettings = (_userId: number) =>

Callers 3

getUserPostsGenFunction · 0.70
getUserPostsPipeFunction · 0.70

Calls 1

ofMethod · 0.80

Tested by

no test coverage detected