From 4851680c4d0930591aef3fa4ad90ceb21ebb1173 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Thu, 6 Aug 2020 12:23:18 +0100 Subject: [PATCH] docs: link to official streaming iterables document (#729) --- doc/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/API.md b/doc/API.md index 325809d9..a330676e 100644 --- a/doc/API.md +++ b/doc/API.md @@ -306,7 +306,7 @@ Dials to another peer in the network and selects a protocol to communicate with | Type | Description | |------|-------------| -| `Promise<{ stream:*, protocol:string }>` | Promise resolves with a [duplex stream](https://gist.github.com/alanshaw/591dc7dd54e4f99338a347ef568d6ee9#duplex-it) and the protocol used | +| `Promise<{ stream:*, protocol:string }>` | Promise resolves with a [duplex stream](https://github.com/libp2p/js-libp2p/blob/master/doc/STREAMING_ITERABLES.md#duplex) and the protocol used | #### Example