---
title: "Ruben Bartelink (@bartelink) | Hashnode"
description: "Developer, GH: @bartelink. Read the latest articles by Ruben Bartelink on Hashnode."
url: "https://hashnode.com/@bartelink"
---

@bartelink

# Ruben Bartelink

@bartelink · Joined June 2024

Developer, GH: @bartelink

## Comments

[Re your question about there being a simpler way of memoizing a Task and/or Async - it's not trivial, but Simple is not Easy either... TaskCell, a helper in Equinox covers memoization of a Task, with expiration (and not caching failures): github.com/jet/equinox/blob/master/src/Equinox.Core/TaskCell.fs See the tests in the repo for the semantics The helper is used a) internally in the Equinox caching system (not dissimilar to the stampede prevention in the .NET 9 IDistributedCache impl) b) as a standalone construct (e.g. it can be used to ensure you have a live token for some third party API given some validity period, with only a single update call regardless of how many callers trigger it etc)](https://hashnode.com/posts/f-tips-weekly-16-asynchronous-memoize/665807f943081a3c1a1ac2e8/comment/667c9ddb41398ce443dea7ff)

Comment · Article · Jun 26, 2024 · [F# tips weekly #16: Asynchronous memoize](https://hashnode.com/posts/f-tips-weekly-16-asynchronous-memoize/665807f943081a3c1a1ac2e8)
