diff --git a/unstable/dochack.js b/unstable/dochack.js index c5053f00b..b823c4fce 100644 --- a/unstable/dochack.js +++ b/unstable/dochack.js @@ -1,4 +1,4 @@ -/* Generated by the Nim Compiler v1.6.16 */ +/* Generated by the Nim Compiler v1.6.18 */ var framePtr = null; var excHandler = 0; var lastJSError = null; diff --git a/unstable/libp2p.html b/unstable/libp2p.html index 004b69066..36150fb70 100644 --- a/unstable/libp2p.html +++ b/unstable/libp2p.html @@ -260,7 +260,7 @@ class="link-seesrc" target="_blank">Source
diff --git a/unstable/libp2p/builders.html b/unstable/libp2p/builders.html index f30a7c205..2705a7829 100644 --- a/unstable/libp2p/builders.html +++ b/unstable/libp2p/builders.html @@ -801,7 +801,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/connmanager.html b/unstable/libp2p/connmanager.html index e460905d8..6b9e0c485 100644 --- a/unstable/libp2p/connmanager.html +++ b/unstable/libp2p/connmanager.html @@ -857,7 +857,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/crypto/chacha20poly1305.html b/unstable/libp2p/crypto/chacha20poly1305.html index b6b2e1478..5e974fb8d 100644 --- a/unstable/libp2p/crypto/chacha20poly1305.html +++ b/unstable/libp2p/crypto/chacha20poly1305.html @@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/crypto/crypto.html b/unstable/libp2p/crypto/crypto.html index 9347a0bde..0827d63f2 100644 --- a/unstable/libp2p/crypto/crypto.html +++ b/unstable/libp2p/crypto/crypto.html @@ -1703,7 +1703,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/crypto/curve25519.html b/unstable/libp2p/crypto/curve25519.html index 5b0d36128..6aac4e4f0 100644 --- a/unstable/libp2p/crypto/curve25519.html +++ b/unstable/libp2p/crypto/curve25519.html @@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/crypto/ecnist.html b/unstable/libp2p/crypto/ecnist.html index 07961040d..4ce852b9f 100644 --- a/unstable/libp2p/crypto/ecnist.html +++ b/unstable/libp2p/crypto/ecnist.html @@ -1450,7 +1450,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/crypto/ed25519/constants.html b/unstable/libp2p/crypto/ed25519/constants.html index 4de2757cb..86fb7dd0c 100644 --- a/unstable/libp2p/crypto/ed25519/constants.html +++ b/unstable/libp2p/crypto/ed25519/constants.html @@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/crypto/ed25519/ed25519.html b/unstable/libp2p/crypto/ed25519/ed25519.html index c640cd967..702a226dd 100644 --- a/unstable/libp2p/crypto/ed25519/ed25519.html +++ b/unstable/libp2p/crypto/ed25519/ed25519.html @@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/crypto/hkdf.html b/unstable/libp2p/crypto/hkdf.html index cd9f32664..9943db5fa 100644 --- a/unstable/libp2p/crypto/hkdf.html +++ b/unstable/libp2p/crypto/hkdf.html @@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/crypto/minasn1.html b/unstable/libp2p/crypto/minasn1.html index 31e4bdc5a..374ccb24d 100644 --- a/unstable/libp2p/crypto/minasn1.html +++ b/unstable/libp2p/crypto/minasn1.html @@ -1195,7 +1195,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/crypto/rsa.html b/unstable/libp2p/crypto/rsa.html index 4ec81a113..fa3de4746 100644 --- a/unstable/libp2p/crypto/rsa.html +++ b/unstable/libp2p/crypto/rsa.html @@ -1029,7 +1029,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/crypto/secp.html b/unstable/libp2p/crypto/secp.html index c22f6d590..e92d32019 100644 --- a/unstable/libp2p/crypto/secp.html +++ b/unstable/libp2p/crypto/secp.html @@ -908,7 +908,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/dial.html b/unstable/libp2p/dial.html index 08f7c2f99..02cc081c5 100644 --- a/unstable/libp2p/dial.html +++ b/unstable/libp2p/dial.html @@ -381,7 +381,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/dialer.html b/unstable/libp2p/dialer.html index 9aef33704..c2e3be19f 100644 --- a/unstable/libp2p/dialer.html +++ b/unstable/libp2p/dialer.html @@ -450,7 +450,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/errors.html b/unstable/libp2p/errors.html index a93620600..4a3b2cad3 100644 --- a/unstable/libp2p/errors.html +++ b/unstable/libp2p/errors.html @@ -357,7 +357,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/multiaddress.html b/unstable/libp2p/multiaddress.html index 30a0efa8e..70e9c306c 100644 --- a/unstable/libp2p/multiaddress.html +++ b/unstable/libp2p/multiaddress.html @@ -2551,7 +2551,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/multibase.html b/unstable/libp2p/multibase.html index e8dfb2bd6..54b1d870e 100644 --- a/unstable/libp2p/multibase.html +++ b/unstable/libp2p/multibase.html @@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/multicodec.html b/unstable/libp2p/multicodec.html index 4d9e632d3..4d2336816 100644 --- a/unstable/libp2p/multicodec.html +++ b/unstable/libp2p/multicodec.html @@ -481,7 +481,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/multihash.html b/unstable/libp2p/multihash.html index 4bc2ead9f..56af39438 100644 --- a/unstable/libp2p/multihash.html +++ b/unstable/libp2p/multihash.html @@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/multistream.html b/unstable/libp2p/multistream.html index bc191cce0..2e1d3d522 100644 --- a/unstable/libp2p/multistream.html +++ b/unstable/libp2p/multistream.html @@ -539,7 +539,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/muxers/mplex/coder.html b/unstable/libp2p/muxers/mplex/coder.html index 093ef37b3..f963ca16b 100644 --- a/unstable/libp2p/muxers/mplex/coder.html +++ b/unstable/libp2p/muxers/mplex/coder.html @@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/muxers/mplex/mplex.html b/unstable/libp2p/muxers/mplex/mplex.html index 7fa0b9d0c..a9a65a807 100644 --- a/unstable/libp2p/muxers/mplex/mplex.html +++ b/unstable/libp2p/muxers/mplex/mplex.html @@ -415,7 +415,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/muxers/muxer.html b/unstable/libp2p/muxers/muxer.html index 7758400e6..aa3b2676a 100644 --- a/unstable/libp2p/muxers/muxer.html +++ b/unstable/libp2p/muxers/muxer.html @@ -533,7 +533,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/muxers/yamux/yamux.html b/unstable/libp2p/muxers/yamux/yamux.html index 06d4d2b85..f5e0da1cc 100644 --- a/unstable/libp2p/muxers/yamux/yamux.html +++ b/unstable/libp2p/muxers/yamux/yamux.html @@ -608,7 +608,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/nameresolving/nameresolver.html b/unstable/libp2p/nameresolving/nameresolver.html index 5d460d483..19d6cbf7e 100644 --- a/unstable/libp2p/nameresolving/nameresolver.html +++ b/unstable/libp2p/nameresolving/nameresolver.html @@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/observedaddrmanager.html b/unstable/libp2p/observedaddrmanager.html index a2a1dc58d..b4d264e29 100644 --- a/unstable/libp2p/observedaddrmanager.html +++ b/unstable/libp2p/observedaddrmanager.html @@ -360,7 +360,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/peerid.html b/unstable/libp2p/peerid.html index 87b603550..4c979c90e 100644 --- a/unstable/libp2p/peerid.html +++ b/unstable/libp2p/peerid.html @@ -806,7 +806,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/peerinfo.html b/unstable/libp2p/peerinfo.html index 8788f2a6c..d63254e7b 100644 --- a/unstable/libp2p/peerinfo.html +++ b/unstable/libp2p/peerinfo.html @@ -484,7 +484,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protobuf/minprotobuf.html b/unstable/libp2p/protobuf/minprotobuf.html index 79cec78ef..dc4c7a374 100644 --- a/unstable/libp2p/protobuf/minprotobuf.html +++ b/unstable/libp2p/protobuf/minprotobuf.html @@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/connectivity/autonat/core.html b/unstable/libp2p/protocols/connectivity/autonat/core.html index 6daf8c355..b573a8cd4 100644 --- a/unstable/libp2p/protocols/connectivity/autonat/core.html +++ b/unstable/libp2p/protocols/connectivity/autonat/core.html @@ -508,7 +508,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/connectivity/autonat/server.html b/unstable/libp2p/protocols/connectivity/autonat/server.html index 6b024e832..4c27af798 100644 --- a/unstable/libp2p/protocols/connectivity/autonat/server.html +++ b/unstable/libp2p/protocols/connectivity/autonat/server.html @@ -302,7 +302,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/connectivity/relay/client.html b/unstable/libp2p/protocols/connectivity/relay/client.html index f9915e5fc..86cd196cf 100644 --- a/unstable/libp2p/protocols/connectivity/relay/client.html +++ b/unstable/libp2p/protocols/connectivity/relay/client.html @@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/connectivity/relay/messages.html b/unstable/libp2p/protocols/connectivity/relay/messages.html index f3821da3b..45a38de8d 100644 --- a/unstable/libp2p/protocols/connectivity/relay/messages.html +++ b/unstable/libp2p/protocols/connectivity/relay/messages.html @@ -722,7 +722,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/connectivity/relay/rconn.html b/unstable/libp2p/protocols/connectivity/relay/rconn.html index ef26c104d..61d91919f 100644 --- a/unstable/libp2p/protocols/connectivity/relay/rconn.html +++ b/unstable/libp2p/protocols/connectivity/relay/rconn.html @@ -377,7 +377,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/connectivity/relay/relay.html b/unstable/libp2p/protocols/connectivity/relay/relay.html index c65e0e986..086221ed1 100644 --- a/unstable/libp2p/protocols/connectivity/relay/relay.html +++ b/unstable/libp2p/protocols/connectivity/relay/relay.html @@ -567,7 +567,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/connectivity/relay/rtransport.html b/unstable/libp2p/protocols/connectivity/relay/rtransport.html index 8c075ae7e..1f0b9c039 100644 --- a/unstable/libp2p/protocols/connectivity/relay/rtransport.html +++ b/unstable/libp2p/protocols/connectivity/relay/rtransport.html @@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/connectivity/relay/utils.html b/unstable/libp2p/protocols/connectivity/relay/utils.html index abacfa639..2b7992692 100644 --- a/unstable/libp2p/protocols/connectivity/relay/utils.html +++ b/unstable/libp2p/protocols/connectivity/relay/utils.html @@ -368,7 +368,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/identify.html b/unstable/libp2p/protocols/identify.html index 4a2f59d9f..cadf21582 100644 --- a/unstable/libp2p/protocols/identify.html +++ b/unstable/libp2p/protocols/identify.html @@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/ping.html b/unstable/libp2p/protocols/ping.html index a3e13ee90..3fd8e8c90 100644 --- a/unstable/libp2p/protocols/ping.html +++ b/unstable/libp2p/protocols/ping.html @@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/protocol.html b/unstable/libp2p/protocols/protocol.html index e20779161..8a9ef7eff 100644 --- a/unstable/libp2p/protocols/protocol.html +++ b/unstable/libp2p/protocols/protocol.html @@ -467,7 +467,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub.html b/unstable/libp2p/protocols/pubsub.html index 611e6c0ae..8fac79c21 100644 --- a/unstable/libp2p/protocols/pubsub.html +++ b/unstable/libp2p/protocols/pubsub.html @@ -239,7 +239,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/errors.html b/unstable/libp2p/protocols/pubsub/errors.html index 21b889e38..68ab7daee 100644 --- a/unstable/libp2p/protocols/pubsub/errors.html +++ b/unstable/libp2p/protocols/pubsub/errors.html @@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/floodsub.html b/unstable/libp2p/protocols/pubsub/floodsub.html index 0198099ac..3cc6d6506 100644 --- a/unstable/libp2p/protocols/pubsub/floodsub.html +++ b/unstable/libp2p/protocols/pubsub/floodsub.html @@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/gossipsub.html b/unstable/libp2p/protocols/pubsub/gossipsub.html index 5d532f2cd..e5b2de5db 100644 --- a/unstable/libp2p/protocols/pubsub/gossipsub.html +++ b/unstable/libp2p/protocols/pubsub/gossipsub.html @@ -568,7 +568,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/gossipsub/behavior.html b/unstable/libp2p/protocols/pubsub/gossipsub/behavior.html index 1ff7d957f..2c6509082 100644 --- a/unstable/libp2p/protocols/pubsub/gossipsub/behavior.html +++ b/unstable/libp2p/protocols/pubsub/gossipsub/behavior.html @@ -496,7 +496,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/gossipsub/scoring.html b/unstable/libp2p/protocols/pubsub/gossipsub/scoring.html index d6b7458fe..013ab4cb3 100644 --- a/unstable/libp2p/protocols/pubsub/gossipsub/scoring.html +++ b/unstable/libp2p/protocols/pubsub/gossipsub/scoring.html @@ -447,7 +447,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/gossipsub/types.html b/unstable/libp2p/protocols/pubsub/gossipsub/types.html index e4e657285..cb79399b0 100644 --- a/unstable/libp2p/protocols/pubsub/gossipsub/types.html +++ b/unstable/libp2p/protocols/pubsub/gossipsub/types.html @@ -780,7 +780,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/mcache.html b/unstable/libp2p/protocols/pubsub/mcache.html index 62a3132a9..cb0936d7e 100644 --- a/unstable/libp2p/protocols/pubsub/mcache.html +++ b/unstable/libp2p/protocols/pubsub/mcache.html @@ -403,7 +403,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/peertable.html b/unstable/libp2p/protocols/pubsub/peertable.html index 4ffce1443..fca427489 100644 --- a/unstable/libp2p/protocols/pubsub/peertable.html +++ b/unstable/libp2p/protocols/pubsub/peertable.html @@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/pubsub.html b/unstable/libp2p/protocols/pubsub/pubsub.html index d2519b246..b26c79ade 100644 --- a/unstable/libp2p/protocols/pubsub/pubsub.html +++ b/unstable/libp2p/protocols/pubsub/pubsub.html @@ -1158,7 +1158,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/pubsubpeer.html b/unstable/libp2p/protocols/pubsub/pubsubpeer.html index 2686b9721..9cf7f08b3 100644 --- a/unstable/libp2p/protocols/pubsub/pubsubpeer.html +++ b/unstable/libp2p/protocols/pubsub/pubsubpeer.html @@ -731,7 +731,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/rpc/message.html b/unstable/libp2p/protocols/pubsub/rpc/message.html index edba615ff..bf000b177 100644 --- a/unstable/libp2p/protocols/pubsub/rpc/message.html +++ b/unstable/libp2p/protocols/pubsub/rpc/message.html @@ -342,7 +342,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/rpc/messages.html b/unstable/libp2p/protocols/pubsub/rpc/messages.html index 6de8371db..3b09dd91f 100644 --- a/unstable/libp2p/protocols/pubsub/rpc/messages.html +++ b/unstable/libp2p/protocols/pubsub/rpc/messages.html @@ -645,7 +645,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/rpc/protobuf.html b/unstable/libp2p/protocols/pubsub/rpc/protobuf.html index d30e0cace..631324c7a 100644 --- a/unstable/libp2p/protocols/pubsub/rpc/protobuf.html +++ b/unstable/libp2p/protocols/pubsub/rpc/protobuf.html @@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/pubsub/timedcache.html b/unstable/libp2p/protocols/pubsub/timedcache.html index 3b4e1e2e4..2ea724961 100644 --- a/unstable/libp2p/protocols/pubsub/timedcache.html +++ b/unstable/libp2p/protocols/pubsub/timedcache.html @@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/rendezvous.html b/unstable/libp2p/protocols/rendezvous.html index 2db837854..abe59efaf 100644 --- a/unstable/libp2p/protocols/rendezvous.html +++ b/unstable/libp2p/protocols/rendezvous.html @@ -530,7 +530,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/secure/noise.html b/unstable/libp2p/protocols/secure/noise.html index f654c98b0..7d4f44998 100644 --- a/unstable/libp2p/protocols/secure/noise.html +++ b/unstable/libp2p/protocols/secure/noise.html @@ -561,7 +561,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/protocols/secure/secure.html b/unstable/libp2p/protocols/secure/secure.html index 2cef252f5..3d3e92693 100644 --- a/unstable/libp2p/protocols/secure/secure.html +++ b/unstable/libp2p/protocols/secure/secure.html @@ -547,7 +547,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/routing_record.html b/unstable/libp2p/routing_record.html index b840922c7..8f19c5a80 100644 --- a/unstable/libp2p/routing_record.html +++ b/unstable/libp2p/routing_record.html @@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/signed_envelope.html b/unstable/libp2p/signed_envelope.html index b1c9c3ca3..78d6e2ecd 100644 --- a/unstable/libp2p/signed_envelope.html +++ b/unstable/libp2p/signed_envelope.html @@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/stream/bufferstream.html b/unstable/libp2p/stream/bufferstream.html index 8d419efd2..ed09318d6 100644 --- a/unstable/libp2p/stream/bufferstream.html +++ b/unstable/libp2p/stream/bufferstream.html @@ -513,7 +513,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/stream/chronosstream.html b/unstable/libp2p/stream/chronosstream.html index 215399829..f89d71e19 100644 --- a/unstable/libp2p/stream/chronosstream.html +++ b/unstable/libp2p/stream/chronosstream.html @@ -497,7 +497,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/stream/connection.html b/unstable/libp2p/stream/connection.html index ebee8d83f..a5005d069 100644 --- a/unstable/libp2p/stream/connection.html +++ b/unstable/libp2p/stream/connection.html @@ -500,7 +500,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/stream/lpstream.html b/unstable/libp2p/stream/lpstream.html index 29d10ea84..df964788b 100644 --- a/unstable/libp2p/stream/lpstream.html +++ b/unstable/libp2p/stream/lpstream.html @@ -1113,7 +1113,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/stream/streamseq.html b/unstable/libp2p/stream/streamseq.html index 06610b161..dac142648 100644 --- a/unstable/libp2p/stream/streamseq.html +++ b/unstable/libp2p/stream/streamseq.html @@ -442,7 +442,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/switch.html b/unstable/libp2p/switch.html index 7bcbb2087..85ebb173e 100644 --- a/unstable/libp2p/switch.html +++ b/unstable/libp2p/switch.html @@ -750,7 +750,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/transcoder.html b/unstable/libp2p/transcoder.html index 920d3ce04..0517c0a2f 100644 --- a/unstable/libp2p/transcoder.html +++ b/unstable/libp2p/transcoder.html @@ -266,7 +266,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/transports/tcptransport.html b/unstable/libp2p/transports/tcptransport.html index 95944e78c..a0f303aca 100644 --- a/unstable/libp2p/transports/tcptransport.html +++ b/unstable/libp2p/transports/tcptransport.html @@ -477,7 +477,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/transports/transport.html b/unstable/libp2p/transports/transport.html index 6e4a38e63..c282b01a0 100644 --- a/unstable/libp2p/transports/transport.html +++ b/unstable/libp2p/transports/transport.html @@ -488,7 +488,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/transports/wstransport.html b/unstable/libp2p/transports/wstransport.html index dff3cf2c9..a5fe6a8dd 100644 --- a/unstable/libp2p/transports/wstransport.html +++ b/unstable/libp2p/transports/wstransport.html @@ -554,7 +554,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/upgrademngrs/muxedupgrade.html b/unstable/libp2p/upgrademngrs/muxedupgrade.html index 792b9369e..e691c81cd 100644 --- a/unstable/libp2p/upgrademngrs/muxedupgrade.html +++ b/unstable/libp2p/upgrademngrs/muxedupgrade.html @@ -350,7 +350,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/upgrademngrs/upgrade.html b/unstable/libp2p/upgrademngrs/upgrade.html index 64754b5e8..6d56a4cf8 100644 --- a/unstable/libp2p/upgrademngrs/upgrade.html +++ b/unstable/libp2p/upgrademngrs/upgrade.html @@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/utility.html b/unstable/libp2p/utility.html index 0373a0d94..a0f15009e 100644 --- a/unstable/libp2p/utility.html +++ b/unstable/libp2p/utility.html @@ -330,9 +330,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -395,9 +395,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -407,9 +407,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -417,6 +417,15 @@ class="link-seesrc" target="_blank">Sourcetemplate withValue[T](self: Opt[T] | Option[T]; value, body: untyped): untyped
This template provides a convenient way to work with Option types in Nim. It allows you to execute a block of code (body) only when the Option is not empty.
+self is the Option instance being checked. value is the variable name to be used within the body for the unwrapped value. body is a block of code that is executed only if self contains a value.
+The value within body is automatically unwrapped from the Option, making it simpler to work with without needing explicit checks or unwrapping.
+Example:
+let myOpt = Opt.some(5) +myOpt.withValue(value): + echo value # Will print 5 ++
Note: This is a template, and it will be inlined at the call site, offering good performance.
Source diff --git a/unstable/libp2p/utils/future.html b/unstable/libp2p/utils/future.html index b60b9e977..e6856c3ac 100644 --- a/unstable/libp2p/utils/future.html +++ b/unstable/libp2p/utils/future.html @@ -271,7 +271,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/utils/heartbeat.html b/unstable/libp2p/utils/heartbeat.html index 2313e4e34..623f7d7ff 100644 --- a/unstable/libp2p/utils/heartbeat.html +++ b/unstable/libp2p/utils/heartbeat.html @@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/utils/offsettedseq.html b/unstable/libp2p/utils/offsettedseq.html index 153c47129..7f8c75701 100644 --- a/unstable/libp2p/utils/offsettedseq.html +++ b/unstable/libp2p/utils/offsettedseq.html @@ -512,7 +512,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/utils/semaphore.html b/unstable/libp2p/utils/semaphore.html index 3c425b8a1..a0cbda48a 100644 --- a/unstable/libp2p/utils/semaphore.html +++ b/unstable/libp2p/utils/semaphore.html @@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/varint.html b/unstable/libp2p/varint.html index 65af31a05..9e4f1b21f 100644 --- a/unstable/libp2p/varint.html +++ b/unstable/libp2p/varint.html @@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/vbuffer.html b/unstable/libp2p/vbuffer.html index 46971d73a..729331a45 100644 --- a/unstable/libp2p/vbuffer.html +++ b/unstable/libp2p/vbuffer.html @@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/libp2p/wire.html b/unstable/libp2p/wire.html index db42fca36..d34ceba92 100644 --- a/unstable/libp2p/wire.html +++ b/unstable/libp2p/wire.html @@ -604,7 +604,7 @@ class="link-seesrc" target="_blank">Source diff --git a/unstable/theindex.html b/unstable/theindex.html index 4fd518ae9..71e425379 100644 --- a/unstable/theindex.html +++ b/unstable/theindex.html @@ -5310,7 +5310,7 @@ window.addEventListener('DOMContentLoaded', main);