Mailbox

public struct Mailbox : MailboxProtocol

A mailbox that merges messages together.

  • The incoming message.

    Declaration

    Swift

    public let inbox: Message?
  • Sends message to vertex next step.

    Declaration

    Swift

    public mutating func send(_ message: Message, to vertex: Graph.VertexId)