⚡ v0.0.0-dev.10 — Enhancing Ergonomics

⚡ v0.0.0-dev.10 — Enhancing Ergonomics

We’re excited to announce the release of @fizzwiz/fluent v0.0.0-dev.10. This prerelease brings several adjustments to the crucial when() and self() methods in the functional domain (What and AsyncWhat). The goal is to mirror the behavior these methods have in the Each domain, improving the ergonomics, predictability, and overall fluency of the library.


⚡ Event-Aware Logic

  • What.when() now lets you fluently start/stop a periodic task, just like Each.when() slices an iteration — even for tasks that repeat infinitely.
     Read the article

⏱ Timeout & Retry

  • What.self(nTimes, baseDelay, factor) now supports infinite repetitions of a periodic task, analogous to how Each.self() defines infinite iterations. The initial timeout argument has been removed in retry-mode calls for improved clarity.
     Read the article

πŸ“¦ Try it now: npmjs

This prerelease continues our mission: making functional programming in JavaScript more fluent, declarative, and enjoyable. These ergonomic improvements are a strong signal that the library is approaching its first stable version, v0.0.1. We welcome proposals or feedback on design improvements.

Fluent, declarative, fun.
— @fizzwiz ✨

Comments

Popular posts from this blog

✨ Bridging Natural Language and Code

🧱 v0.0.0-dev.1

⚡ Early vs. Late Restriction