core-async

raspasov 2026-06-22T08:35:02.807419Z

I think metadata is defined as "data about data". And channels are not data.

2026-06-22T18:20:43.893239Z

Atom and Refs support metadata and they are mutable containers for values. I see channels similarly. It would be nice to be able to attach debugging metadata like what created the channel, a name for it, etc.

Steven Lombardi 2026-06-22T20:42:06.777689Z

I do find the debugging use case compelling. If you opened an ask for it, I'd upvote that.

Steven Lombardi 2026-06-22T20:44:55.048679Z

In the mean time, could you reimplement the channel protocols and just have them delegate to an internal channel? Then implement IObj on top?

2026-06-22T21:28:27.546319Z

That's what I did, and I implement IReference

👍 1