braid-org / braidjs

Monorepo for Braid Projects in Javascript
https://braid.org
262 stars 15 forks source link

Question about fissure and ack, continued #27

Closed iacore closed 3 weeks ago

iacore commented 1 month ago

Let's say

  1. a message is tagged with fissure
  2. the author of the message goes offline
  3. fissure resolves

What happens now? Does the message stay in memory, never to be acknowledged?

toomim commented 1 month ago

When the author goes offline, that will create another fissure, which will freeze versions in memory like the first fissure did. Fissures replace each other like that; always marking when some necessary subnet is offline.

iacore commented 1 month ago

OK, I think I understand. Mind if I add Typescript annotation to antimatter.js?

toomim commented 1 month ago

Greg and I prefer Javascript to Typescript. However, I could imagine that some of your interest in adding types is to understand how the code fits together — to that end, I do want to make the code easier to understand, and would be happy to collaborate on doing so in Javascript.