Comment

Comment by lcedp

> a Seqable object that will invoke the body only the first time seq is called, and will cache the result and return it on all subsequent seq calls.

To guarantee "only the first time", I suppose you need to have some kind of synchronization at some level.

parent lcedp 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton