update docs for forward-msgs-non-priority-v2

This commit is contained in:
= 2024-02-14 12:02:06 +00:00
parent c398135fcb
commit 17bc15071b
82 changed files with 167 additions and 136 deletions

View File

@ -260,7 +260,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -801,7 +801,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -857,7 +857,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -1703,7 +1703,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -1450,7 +1450,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:16 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:55 UTC</small>
</div>
</div>
</div>

View File

@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:15 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:55 UTC</small>
</div>
</div>
</div>

View File

@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:15 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:55 UTC</small>
</div>
</div>
</div>

View File

@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -1195,7 +1195,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:15 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:54 UTC</small>
</div>
</div>
</div>

View File

@ -1029,7 +1029,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:15 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:54 UTC</small>
</div>
</div>
</div>

View File

@ -908,7 +908,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:15 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:55 UTC</small>
</div>
</div>
</div>

View File

@ -381,7 +381,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -450,7 +450,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -357,7 +357,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -2551,7 +2551,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:16 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:56 UTC</small>
</div>
</div>
</div>

View File

@ -481,7 +481,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:16 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:56 UTC</small>
</div>
</div>
</div>

View File

@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:56 UTC</small>
</div>
</div>
</div>

View File

@ -539,7 +539,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -415,7 +415,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -533,7 +533,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -590,7 +590,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -360,7 +360,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -806,7 +806,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -484,7 +484,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:14 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:53 UTC</small>
</div>
</div>
</div>

View File

@ -508,7 +508,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -302,7 +302,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -722,7 +722,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -377,7 +377,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -567,7 +567,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -368,7 +368,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -467,7 +467,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -239,7 +239,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -568,7 +568,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -496,7 +496,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -447,7 +447,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -780,7 +780,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -403,7 +403,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -810,9 +810,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L603"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L618"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L603" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L618" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -821,11 +821,19 @@ class="link-seesrc" target="_blank">Source</a>
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
Attempt to send <tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt> to the given peers
<p>This procedure attempts to send a <tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt> (of type <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt>) to a specified group of peers in the PubSub network.</p>
<p>Parameters:</p>
<ul class="simple"><li><tt class="docutils literal"><span class="pre"><span class="Identifier">p</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSub</span></span></tt> instance.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">sendPeers</span></span></tt>: An iterable of <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt> instances representing the peers to whom the message should be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt> instance that contains the message to be broadcast.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">isHighPriority</span></span></tt>: A boolean indicating whether the message should be treated as high priority.</li>
</ul>
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L148"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L155"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L148" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L155" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -836,9 +844,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L311"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L326"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L311" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L326" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -857,9 +865,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L548"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L563"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L548" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L563" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -870,9 +878,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L605"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L620"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L605" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L620" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -881,7 +889,15 @@ class="link-seesrc" target="_blank">Source</a>
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
Attempt to send <tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt> to remote peer
<p>This procedure attempts to send a <tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt> (of type <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt>) to the specified remote peer in the PubSub network.</p>
<p>Parameters:</p>
<ul class="simple"><li><tt class="docutils literal"><span class="pre"><span class="Identifier">p</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSub</span></span></tt> instance.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">peer</span></span></tt>: An instance of <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt> representing the peer to whom the message should be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt> instance that contains the message to be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">isHighPriority</span></span></tt>: A boolean indicating whether the message should be treated as high priority.</li>
</ul>
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L141"
class="link-seesrc" target="_blank">Source</a>
@ -896,9 +912,9 @@ class="link-seesrc" target="_blank">Source</a>
send subscriptions to remote peer
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L206"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L221"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L206" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L221" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -914,9 +930,9 @@ class="link-seesrc" target="_blank">Source</a>
</dl>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L449"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L464"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L449" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L464" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -927,9 +943,9 @@ class="link-seesrc" target="_blank">Source</a>
unsubscribe from a <tt class="docutils literal"><span class="pre">topic</span></tt> string
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L418"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L433"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L418" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L433" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -940,9 +956,9 @@ class="link-seesrc" target="_blank">Source</a>
unsubscribe from a list of <tt class="docutils literal"><span class="pre">topic</span></tt> handlers
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L433"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L448"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L433" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L448" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -953,9 +969,9 @@ class="link-seesrc" target="_blank">Source</a>
unsubscribe every <tt class="docutils literal"><span class="pre"><span class="Identifier">handler</span></span></tt> from <tt class="docutils literal"><span class="pre"><span class="Identifier">topic</span></span></tt>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L438"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L453"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L438" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L453" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -965,9 +981,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L225"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L240"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L225" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L240" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -983,9 +999,9 @@ class="link-seesrc" target="_blank">Source</a>
Add a validator to a <tt class="docutils literal"><span class="pre"><span class="Identifier">topic</span></span></tt>. Each new message received in this will be sent to <tt class="docutils literal"><span class="pre"><span class="Identifier">hook</span></span></tt>. <tt class="docutils literal"><span class="pre"><span class="Identifier">hook</span></span></tt> can return either <tt class="docutils literal"><span class="pre"><span class="Identifier">Accept</span></span></tt>, <tt class="docutils literal"><span class="pre"><span class="Identifier">Ignore</span></span></tt> or <tt class="docutils literal"><span class="pre"><span class="Identifier">Reject</span></span></tt> (which can descore the peer)
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L498"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L513"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L498" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L513" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -996,9 +1012,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L283"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L298"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L283" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L298" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1016,9 +1032,9 @@ class="link-seesrc" target="_blank">Source</a>
</ol>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L348"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L363"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L348" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L363" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1029,9 +1045,9 @@ class="link-seesrc" target="_blank">Source</a>
perform pubsub initialization
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L491"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L506"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L491" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L506" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1042,9 +1058,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L274"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L289"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L274" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L289" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1055,9 +1071,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L401"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L416"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L401" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L416" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1071,9 +1087,9 @@ class="link-seesrc" target="_blank">Source</a>
<p>The return value is the number of neighbours that we attempted to send the message to, excluding self. Note that this is an optimistic number of attempts - the number of peers that actually receive the message might be lower.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L479"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L494"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L479" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L494" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1084,9 +1100,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L508"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L523"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L508" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L523" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1098,9 +1114,9 @@ class="link-seesrc" target="_blank">Source</a>
Handler that must be overridden by concrete implementation
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L268"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L283"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L268" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L283" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1111,9 +1127,9 @@ class="link-seesrc" target="_blank">Source</a>
subscribe to remote peer to receive/send pubsub messages
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L377"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L392"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L377" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L392" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1138,9 +1154,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L517"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsub.nim#L532"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L517" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L532" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1159,7 +1175,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -559,9 +559,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsubpeer.nim#L369"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsubpeer.nim#L386"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L369" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L386" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -659,9 +659,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsubpeer.nim#L413"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsubpeer.nim#L430"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L413" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L430" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -696,11 +696,19 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<p>Asynchronously sends an <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt> to a specified <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt> with an option for anonymization.</p>
<p>Parameters:</p>
<ul class="simple"><li><tt class="docutils literal"><span class="pre"><span class="Identifier">p</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt> instance to which the message is to be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt> instance representing the message to be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">anonymize</span></span></tt>: A boolean flag indicating whether the message should be sent with anonymization.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">isHighPriority</span></span></tt>: A boolean flag indicating whether the message should be treated as high priority.</li>
</ul>
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsubpeer.nim#L343"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsubpeer.nim#L351"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L343" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L351" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -710,6 +718,13 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<p>Asynchronously sends an encoded message to a specified <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt>.</p>
<p>Parameters:</p>
<ul class="simple"><li><tt class="docutils literal"><span class="pre"><span class="Identifier">p</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt> instance to which the message is to be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt>: The message to be sent, encoded as a sequence of bytes (<tt class="docutils literal"><span class="pre"><span class="Identifier">seq</span><span class="Punctuation">[</span><span class="Identifier">byte</span><span class="Punctuation">]</span></span></tt>).</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">isHighPriority</span></span></tt>: A boolean indicating whether the message should be treated as high priority.</li>
</ul>
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsubpeer.nim#L284"
@ -737,9 +752,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsubpeer.nim#L396"
href="https://github.com/status-im/nim-libp2p/tree/forward-msgs-non-priority-v2/libp2p/protocols/pubsub/pubsubpeer.nim#L413"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L396" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L413" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -775,7 +790,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -342,7 +342,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -645,7 +645,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -530,7 +530,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -561,7 +561,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -547,7 +547,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -513,7 +513,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -497,7 +497,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -500,7 +500,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -1113,7 +1113,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -442,7 +442,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -750,7 +750,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -266,7 +266,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:17 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -477,7 +477,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -488,7 +488,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -554,7 +554,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>

View File

@ -350,7 +350,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:19 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -444,7 +444,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:14 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:53 UTC</small>
</div>
</div>
</div>

View File

@ -271,7 +271,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -512,7 +512,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:58 UTC</small>
</div>
</div>
</div>

View File

@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:14 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:53 UTC</small>
</div>
</div>
</div>

View File

@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:16 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:55 UTC</small>
</div>
</div>
</div>

View File

@ -604,7 +604,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:18 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:57 UTC</small>
</div>
</div>
</div>

View File

@ -5316,7 +5316,7 @@ window.addEventListener('DOMContentLoaded', main);
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-13 16:06:20 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-14 12:01:59 UTC</small>
</div>
</div>
</div>