Comparing Effect.suspend() and Effect.sync() in TypeScript

Hi 🙂 I would be happy to catch stones of feedback

i was wondering what's the subtle difference between:

Effect.suspend(() => Effect.succeed(Date.now()));

vs
Effect.sync(() => Date.now());
Was this page helpful?