libp2p/protocols/pubsub/rpcmessagequeue

    Dark Mode
Search:
Group by:
  Source   Edit

Types

RpcMessageQueue = ref object
  priorityQueue: AsyncQueue[seq[byte]]
  nonPriorityQueue: AsyncQueue[seq[byte]]
  Source   Edit

Procs

proc addNonPriorityMessage(aq: RpcMessageQueue; msg: seq[byte]): Future[void] {.
    stackTrace: false, ...gcsafe, raises: [], raises: [], raises: [],
    tags: [RootEffect].}
  Source   Edit
proc addPriorityMessage(aq: RpcMessageQueue; msg: seq[byte]): Future[void] {.
    stackTrace: false, ...gcsafe, raises: [], raises: [], raises: [],
    tags: [RootEffect].}
  Source   Edit
proc getNonPriorityMessage(rpcMessageQueue: RpcMessageQueue): Opt[seq[byte]] {.
    ...raises: [], tags: [RootEffect].}
  Source   Edit
proc getPriorityMessage(rpcMessageQueue: RpcMessageQueue): Opt[seq[byte]] {.
    ...raises: [], tags: [RootEffect].}
  Source   Edit
proc new(T: typedesc[RpcMessageQueue]): T:type {....raises: [].}
  Source   Edit