durian-hypermediaStyle

All fixtures · From the Format page · format/95-animation-sent-items.dh.md

Source
---
title: "Animation: a sent token becomes an item"
description: A token sent into a queue joins it as an item that pop and move work on (SPEC 6.15).
---

## Animation: a sent token becomes an item

`send ... as <id>` into a queue, a stack or a list leaves the token there as an item, so a later line can take it out.

```animation layout=graph
box app "app"
queue buf "send buffer"
box net "network"
app -> buf
buf -> net
@step The app sends a segment into the buffer.
send "seg 1" app -> buf as s1
@step The network reads the oldest segment.
pop buf to net
```
LLM view
---
title: "Animation: a sent token becomes an item"
description: A token sent into a queue joins it as an item that pop and move work on (SPEC 6.15).
source: format/95-animation-sent-items.dh.md
---
<!-- Made by dh llm from the source; nobody edits this file. -->

## Animation: a sent token becomes an item

`send ... as <id>` into a queue, a stack or a list leaves the token there as an item, so a later line can take it out.

Animation, 2 steps. Starts with: box app; queue buf "send buffer": empty; box net "network". Connected: app -> buf, buf -> net.

1. The app sends a segment into the buffer.
   app -> buf: seg 1
2. The network reads the oldest segment.
   buf -> net: seg 1

Animation: a sent token becomes an item

send ... as <id> into a queue, a stack or a list leaves the token there as an item, so a later line can take it out.

Animation, 2 steps. Starts with: box app; queue buf "send buffer": empty; box net "network". Connected: app -> buf, buf -> net. 1. The app sends a segment into the buffer. app -> buf: seg 1 2. The network reads the oldest segment. buf -> net: seg 1

send buffersend bufferappappseg 1seg 1networknetwork
1The app sends a segment into the buffer.
1 / 2
All steps (2)