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:
vs
i was wondering what's the subtle difference between:
vs
Effect.suspend(() => Effect.succeed(Date.now()));Effect.sync(() => Date.now());