live outbound and inbound sermo directional views
Syntax:
Category
endpoint
Related
Examples
examples/corpus/ad/sermo-live-directional.fab (canonical · method)
live outbound and inbound sermo directional views
# Live `meus<T>` / `tuus<T>` directional views
#
# runtime:echo returns one inbound textus frame per conversation.
# accipe, cursor, and exhauri may share one tuus queue; mix them only when
# ordered consumption is intentional.
incipit {
fixum sermo s ← ad 'runtime:echo' ("salve")
fixum meus<textus> m ← s.meus<textus>()
m.da("ping")
fixum status outbound ← m.fini()
fixum tuus<textus> t ← s.tuus<textus>()
itera ex t.cursor() fixum frame {
adfirma frame.data ≡ "salve"
}
fixum status inbound ← t.fini()
fixum sermo s2 ← ad 'runtime:echo' ("salve")
fixum tuus<textus> t2 ← s2.tuus<textus>()
fixum scrinium<textus> ∪ nihil got ← t2.accipe()
fixum status accipe_done ← t2.fini()
nota outbound
nota inbound
nota got
nota accipe_done
}