Events a driver gives a member, and effects the member asks for #
A member never derives a BACAP index, encrypts, or touches the network itself.
Instances For
What reading a box found: a message, none for one that holds nothing a member can decode,
or why there is none.
- data (message : Option Message) : ReadResult
- missing (why : Missing) : ReadResult
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
What an introducer hands a new member. Members are named by their place in members, the
introducer's roster; the new member takes place newcomer.
Each member's read cap and start index, or
nonefor a slot not filled.Each member's roster as (index, place), or
nonewhen unknown.(introducer place, box, member place).
- introducer : Nat
- newcomer : Nat
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- send (content : ByteArray) : Event
- read (stream : Key) : Event
- scan (stream : Key) : Event
- boxRead
(stream : Key)
(index : Index)
(result : ReadResult)
(next : Option Index)
: Event
The result of
Effect.readBox, with the index after it. - indexesDerived (stream : Key) (indexes : List Index) : Event
- walked
(stream : Key)
(target : Option Index)
(skipped : List Index)
(steps : Nat)
: Event
The result of
Effect.walk: the box at the furthest targetIdx64within reach, the indexes before it (the lastkeepof them), and how many steps ahead it is. - invite (name : String) (readCap : ByteArray) : Event
- introduce (name : String) (readCap : ByteArray) : Event
- remove (member : Key) : Event
- epochChanged (epoch : Nat) : Event
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
What a box of the member's own stream holds, as its Sent box keeps it: a message the member composed, which its client encodes, or the bytes a client that writes for itself handed over, which the member never looks into.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- writeBox (index : Index) (payload : Payload) : Effect
- writeTombstone (index : Index) : Effect
- readBox (stream : Key) (readCap : ByteArray) (index : Index) (recheck : Bool) : Effect
- deriveIndexes (stream : Key) (start : Index) (count : Nat) : Effect
- walk (stream : Key) (start : Index) (targets : List Nat) (keep : Nat) : Effect
- deliver (sender : Key) (index : Index) (content : ByteArray) : Effect
- expire (sender : Key) (index : Index) : Effect
- sendJoinReply (to : ByteArray) (reply : JoinReply) : Effect
Instances For
Equations
- One or more equations did not get rendered due to their size.