Default Services
Effect comes equipped with five pre-built services:
When we employ these services, there’s no need to explicitly provide their implementations. Effect automatically supplies live versions of these services to our effects, sparing us from manual setup.
Example (Using Clock and Console)
As you can observe, even if our program utilizes both Clock
and Console
, the Requirements
parameter, representing the services required for the effect to execute, remains set to never
.
Effect takes care of handling these services seamlessly for us.