Preparing search index...
The search index is not available
libp2p
libp2p
@libp2p/interface-compliance-tests
mocks
mockMultiaddrConnection
Function mockMultiaddrConnection
mock
Multiaddr
Connection
(
source
,
peerId
)
:
MultiaddrConnection
Parameters
source
:
Duplex
<
AsyncGenerator
<
Uint8Array
|
Uint8ArrayList
,
any
,
unknown
>
,
AsyncGenerator
<
Uint8Array
|
Uint8ArrayList
,
any
,
unknown
>
,
unknown
>
&
Partial
<
MultiaddrConnection
>
peerId
:
PeerId
Returns
MultiaddrConnection
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
libp2p
Loading...