Package: effect
Module: Effect
An effect that that runs indefinitely and never produces any result. The
moral equivalent of while(true) {}, only without the wasted CPU cycles.
When to Use
It could be useful for long-running background tasks or to simulate waiting behavior without actually consuming resources. This effect is ideal for cases where you want to keep the program alive or in a certain state without performing any active work.
Signature
declare const never: Effect<never, never, never>
Since v2.0.0