Sign in

Boxed

@boxed.cool
11 followers 0 following 10 posts

essential building-blocks for functional & safe TypeScript code. makes your life easier.

PostsRepliesMedia
Boxed @boxed.cool · 17/06/2026
📣 boxed has a new GitHub & npm home! → github.com/bloodyowl/bo... → @bloodyowl/boxed → boxed.cool
github.com
GitHub - bloodyowl/boxed: Essential building-blocks for functional & safe TypeScript code
Essential building-blocks for functional & safe TypeScript code - bloodyowl/boxed
051
Boxed @boxed.cool · 09/09/2025
just passed 1M downloads on npm! 🎉
012
Boxed @boxed.cool · 24/12/2024
did you know? maximum concurrency & retry mechanisms are directly handled in Boxed since 2.3.0
While you have a simple Future.all to run all futures in parallel (like Promise.all does), you might want to limit the concurrency at which you execute operations.

Using Future.concurrent, you can specify the maximum concurrency for your array of operations.Retry with maximum attempts

If getUserById outputs a Result.Ok value, the future resolves, if it outputs a Result.Error, it re-executes getUserById.

Retry with delay

The function you pass Future.retry takes an attempt parameter, which is the current number of attempts. The count starts at 0.
000
Boxed @boxed.cool · 20/12/2024
if that happens shut the door right away and call us
121
Boxed @boxed.cool · 20/12/2024
fig. 1: impossible states when your product type could've been a sum type
041
Boxed @boxed.cool · 19/12/2024
we now have a 😎 cool 😎 domain boxed.cool
boxed.cool
Boxed: Essential building-blocks for functional & safe TypeScript code | Boxed
Essential building-blocks for functional & safe TypeScript code
153