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

Function slow

test/effected.spec.ts:1286–1290  ·  view source on GitHub ↗
(id: string, delay: number)

Source from the content-addressed store, hash-verified

1284
1285 // Create some basic effects with different delays
1286 const slow = (id: string, delay: number) =>
1287 effected(function* () {
1288 const result = yield* compute(id, delay);
1289 return result;
1290 });
1291
1292 // Create nested structure:
1293 // outer = [

Callers 1

effected.spec.tsFile · 0.85

Calls 1

effectedFunction · 0.90

Tested by

no test coverage detected