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

Function fetchUserSettings

test/README.example.spec.ts:1314–1315  ·  view source on GitHub ↗
(_userId: number)

Source from the content-addressed store, hash-verified

1312 const fetchUserPosts = (userId: number) =>
1313 Effected.of([{ id: 1, title: `Post for ${userId}` }]);
1314 const fetchUserSettings = (_userId: number) =>
1315 Effected.of({ theme: "dark", notifications: true });
1316
1317 const userData = await Effected.all({
1318 user: fetchUser(1),

Callers 1

Calls 1

ofMethod · 0.80

Tested by

no test coverage detected