2020-12-10 15:50:24 +01:00
<!doctype html>
< html class = "default no-js" >
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
2021-01-29 14:40:00 +01:00
< title > PersistentPeerStore | libp2p - v0.30.6< / title >
< meta name = "description" content = "Documentation for libp2p - v0.30.6" >
2020-12-10 15:50:24 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< link rel = "stylesheet" href = "../assets/css/main.css" >
< link href = "https://unpkg.com/nord-highlightjs@0.1.0/dist/nord.css" rel = "stylesheet" type = "text/css" / >
< style >
.toolbar-icon {
display: inline-block;
vertical-align: middle;
margin-left: 10px;
cursor: pointer;
}
.toolbar-icon-search {
box-sizing: border-box;
position: absolute;
overflow: hidden;
right: -40px;
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
@media (min-width: 901px){
display: none
}
}
@media (min-width: 901px){
.toolbar-icon-menu {
display: none
}
.toolbar-icon-options {
display: none
}
}
.gg-menu {
transform: scale(var(--ggs,1))
}
.gg-menu,
.gg-menu::after,
.gg-menu::before {
box-sizing: border-box;
position: relative;
display: block;
width: 20px;
height: 2px;
border-radius: 3px;
background: currentColor
}
.gg-menu::after,
.gg-menu::before {
content: "";
position: absolute;
top: -6px
}
.gg-menu::after {
top: 6px
}
.gg-options {
box-sizing: border-box;
position: relative;
display: block;
transform: scale(var(--ggs,1));
width: 10px;
height: 2px;
box-shadow:
-3px 4px 0 0,
3px -4px 0 0
}
.gg-options::after,
.gg-options::before {
content: "";
display: block;
box-sizing: border-box;
position: absolute;
width: 8px;
height: 8px;
border: 2px solid;
border-radius: 100%
}
.gg-options::before {
top: -7px;
left: -4px
}
.gg-options::after {
bottom: -7px;
right: -4px
}
.gg-search {
box-sizing: border-box;
position: relative;
display: block;
transform: scale(var(--ggs,1));
width: 16px;
height: 16px;
border: 2px solid;
border-radius: 100%;
margin-left: -4px;
margin-top: -4px
}
.gg-search::after {
content: "";
display: block;
box-sizing: border-box;
position: absolute;
border-radius: 3px;
width: 2px;
height: 8px;
background: currentColor;
transform: rotate(-45deg);
top: 10px;
left: 12px
}
< / style >
< / head >
< body >
< header >
< div class = "tsd-page-toolbar" >
< div class = "container" >
< div class = "table-wrap" >
< div class = "table-cell" id = "tsd-search" data-index = "../assets/js/search.json" data-base = ".." >
< div class = "field" >
< label for = "tsd-search-field" class = "toolbar-icon toolbar-icon-search" > < i class = "gg-search" > < / i > < / label >
< input id = "tsd-search-field" type = "text" / >
< / div >
< ul class = "results" >
< li class = "state loading" > Preparing search index...< / li >
< li class = "state failure" > The search index is not available< / li >
< / ul >
2021-01-29 14:40:00 +01:00
< a href = "../index.html" class = "title" > libp2p - v0.30.6< / a >
2020-12-10 15:50:24 +01:00
< / div >
< div class = "table-cell" id = "tsd-widgets" >
< a href = "#" class = "toolbar-icon toolbar-icon-menu" data-toggle = "menu" > < i class = "gg-menu" > < / i > < / a >
< / div >
< / div >
< / div >
< / div >
< div class = "tsd-page-title" >
< div class = "container" >
< ul class = "tsd-breadcrumb" >
< li >
< a href = "../modules/_peer_store_persistent_index_.html" > peer-store/persistent/index< / a >
< / li >
< li >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html" > PersistentPeerStore< / a >
< / li >
< / ul >
< h1 > Class PersistentPeerStore< / h1 >
< / div >
< / div >
< / header >
< div class = "container container-main" >
< div class = "row" >
< div class = "col-8 col-content" >
< section class = "tsd-panel tsd-comment" >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Responsible for managing the persistence of data in the PeerStore.< / p >
< / div >
< / div >
< / section >
< section class = "tsd-panel tsd-hierarchy" >
< h3 > Hierarchy< / h3 >
< ul class = "tsd-hierarchy" >
< li >
< a href = "../modules/_peer_store_book_.html#peerstore" class = "tsd-signature-type" > PeerStore< / a >
< ul class = "tsd-hierarchy" >
< li >
< span class = "target" > PersistentPeerStore< / span >
< / li >
< / ul >
< / li >
< / ul >
< / section >
< section class = "tsd-panel-group tsd-index-group" >
< h2 > Index< / h2 >
< section class = "tsd-panel tsd-index-panel" >
< div class = "tsd-index-content" >
< section class = "tsd-index-section " >
< h3 > References< / h3 >
< ul class = "tsd-index-list" >
< li class = "tsd-kind-reference tsd-parent-kind-class" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#address" class = "tsd-kind-icon" > Address< / a > < / li >
2021-01-18 17:14:51 +01:00
< li class = "tsd-kind-reference tsd-parent-kind-class" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#events" class = "tsd-kind-icon" > Events< / a > < / li >
2020-12-10 15:50:24 +01:00
< li class = "tsd-kind-reference tsd-parent-kind-class" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#persistentpeerstoreoptions" class = "tsd-kind-icon" > Persistent< wbr > Peer< wbr > Store< wbr > Options< / a > < / li >
< li class = "tsd-kind-reference tsd-parent-kind-class" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#persistentpeerstoreproperties" class = "tsd-kind-icon" > Persistent< wbr > Peer< wbr > Store< wbr > Properties< / a > < / li >
< / ul >
< / section >
< section class = "tsd-index-section " >
< h3 > Constructors< / h3 >
< ul class = "tsd-index-list" >
< li class = "tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#constructor" class = "tsd-kind-icon" > constructor< / a > < / li >
< / ul >
< / section >
< section class = "tsd-index-section " >
< h3 > Properties< / h3 >
< ul class = "tsd-index-list" >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-private" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_adddirtypeer" class = "tsd-kind-icon" > _add< wbr > Dirty< wbr > Peer< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-private" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_adddirtypeerkey" class = "tsd-kind-icon" > _add< wbr > Dirty< wbr > Peer< wbr > Key< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-private" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_adddirtypeermetadata" class = "tsd-kind-icon" > _add< wbr > Dirty< wbr > Peer< wbr > Metadata< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-private" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_batchaddressbook" class = "tsd-kind-icon" > _batch< wbr > Address< wbr > Book< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-private" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_batchkeybook" class = "tsd-kind-icon" > _batch< wbr > Key< wbr > Book< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-private" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_batchmetadatabook" class = "tsd-kind-icon" > _batch< wbr > Metadata< wbr > Book< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-private" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_batchprotobook" class = "tsd-kind-icon" > _batch< wbr > Proto< wbr > Book< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-private" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_commitdata" class = "tsd-kind-icon" > _commit< wbr > Data< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_datastore" class = "tsd-kind-icon" > _datastore< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_dirtymetadata" class = "tsd-kind-icon" > _dirty< wbr > Metadata< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_dirtypeers" class = "tsd-kind-icon" > _dirty< wbr > Peers< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_peerid" class = "tsd-kind-icon" > _peer< wbr > Id< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-private" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#_processdatastoreentry" class = "tsd-kind-icon" > _process< wbr > Datastore< wbr > Entry< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#addressbook" class = "tsd-kind-icon" > address< wbr > Book< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#keybook" class = "tsd-kind-icon" > key< wbr > Book< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#metadatabook" class = "tsd-kind-icon" > metadata< wbr > Book< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#protobook" class = "tsd-kind-icon" > proto< wbr > Book< / a > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#threshold" class = "tsd-kind-icon" > threshold< / a > < / li >
< / ul >
< / section >
< section class = "tsd-index-section tsd-is-inherited" >
< h3 > Accessors< / h3 >
< ul class = "tsd-index-list" >
< li class = "tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#peers" class = "tsd-kind-icon" > peers< / a > < / li >
< / ul >
< / section >
< section class = "tsd-index-section tsd-is-inherited" >
< h3 > Methods< / h3 >
< ul class = "tsd-index-list" >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#addlistener" class = "tsd-kind-icon" > add< wbr > Listener< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#delete" class = "tsd-kind-icon" > delete< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#emit" class = "tsd-kind-icon" > emit< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#get" class = "tsd-kind-icon" > get< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#getmaxlisteners" class = "tsd-kind-icon" > get< wbr > Max< wbr > Listeners< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#listenercount" class = "tsd-kind-icon" > listener< wbr > Count< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#listeners" class = "tsd-kind-icon" > listeners< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#off" class = "tsd-kind-icon" > off< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#on" class = "tsd-kind-icon" > on< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#once" class = "tsd-kind-icon" > once< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#rawlisteners" class = "tsd-kind-icon" > raw< wbr > Listeners< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#removealllisteners" class = "tsd-kind-icon" > remove< wbr > All< wbr > Listeners< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#removelistener" class = "tsd-kind-icon" > remove< wbr > Listener< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#setmaxlisteners" class = "tsd-kind-icon" > set< wbr > Max< wbr > Listeners< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#start" class = "tsd-kind-icon" > start< / a > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#stop" class = "tsd-kind-icon" > stop< / a > < / li >
< / ul >
< / section >
< / div >
< / section >
< / section >
< section class = "tsd-panel-group tsd-member-group " >
< h2 > References< / h2 >
< section class = "tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-class" >
< a name = "address" class = "tsd-anchor" > < / a >
< h3 > Address< / h3 >
Re-exports < a href = "../modules/_peer_store_address_book_.html#address" > Address< / a >
< / section >
2021-01-18 17:14:51 +01:00
< section class = "tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-class" >
< a name = "events" class = "tsd-anchor" > < / a >
< h3 > Events< / h3 >
2021-01-27 15:24:16 +01:00
Re-exports < a href = "../modules/_address_manager_index_.html#events" > Events< / a >
2021-01-18 17:14:51 +01:00
< / section >
2020-12-10 15:50:24 +01:00
< section class = "tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-class" >
< a name = "persistentpeerstoreoptions" class = "tsd-anchor" > < / a >
< h3 > Persistent< wbr > Peer< wbr > Store< wbr > Options< / h3 >
Re-exports < a href = "../modules/_peer_store_persistent_index_.html#persistentpeerstoreoptions" > PersistentPeerStoreOptions< / a >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-class" >
< a name = "persistentpeerstoreproperties" class = "tsd-anchor" > < / a >
< h3 > Persistent< wbr > Peer< wbr > Store< wbr > Properties< / h3 >
Re-exports < a href = "../modules/_peer_store_persistent_index_.html#persistentpeerstoreproperties" > PersistentPeerStoreProperties< / a >
< / section >
< / section >
< section class = "tsd-panel-group tsd-member-group " >
< h2 > Constructors< / h2 >
< section class = "tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite" >
< a name = "constructor" class = "tsd-anchor" > < / a >
< h3 > constructor< / h3 >
< ul class = "tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite" >
< li class = "tsd-signature tsd-kind-icon" > new < wbr > Persistent< wbr > Peer< wbr > Store< span class = "tsd-signature-symbol" > (< / span > __namedParameters< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > { < / span > datastore< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > ; < / span > peerId< span class = "tsd-signature-symbol" > : < / span > < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < span class = "tsd-signature-symbol" > ; < / span > threshold< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > }< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < a href = "_peer_store_persistent_index_.persistentpeerstore.html" class = "tsd-signature-type" > PersistentPeerStore< / a > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< p > Overrides < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#constructor" > constructor< / a > < / p >
< / aside >
< div class = "tsd-comment tsd-typography" >
< / div >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > __namedParameters: < span class = "tsd-signature-symbol" > { < / span > datastore< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > ; < / span > peerId< span class = "tsd-signature-symbol" > : < / span > < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < span class = "tsd-signature-symbol" > ; < / span > threshold< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > }< / span > < / h5 >
< ul class = "tsd-parameters" >
< li class = "tsd-parameter" >
< h5 > datastore< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < / h5 >
< / li >
< li class = "tsd-parameter" >
< h5 > peer< wbr > Id< span class = "tsd-signature-symbol" > : < / span > < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < / h5 >
< / li >
< li class = "tsd-parameter" >
< h5 > threshold< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > number< / span > < / h5 >
< / li >
< / ul >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < a href = "_peer_store_persistent_index_.persistentpeerstore.html" class = "tsd-signature-type" > PersistentPeerStore< / a > < / h4 >
< / li >
< / ul >
< / section >
< / section >
< section class = "tsd-panel-group tsd-member-group " >
< h2 > Properties< / h2 >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a name = "_adddirtypeer" class = "tsd-anchor" > < / a >
< h3 > < span class = "tsd-flag ts-flagPrivate" > Private< / span > _add< wbr > Dirty< wbr > Peer< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _add< wbr > Dirty< wbr > Peer< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Add modified peer to the dirty set< / p >
< / div >
< dl class = "tsd-comment-tags" >
< dt > param< / dt >
< dd > < / dd >
< dt > param< / dt >
< dd > < / dd >
< / dl >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a name = "_adddirtypeerkey" class = "tsd-anchor" > < / a >
< h3 > < span class = "tsd-flag ts-flagPrivate" > Private< / span > _add< wbr > Dirty< wbr > Peer< wbr > Key< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _add< wbr > Dirty< wbr > Peer< wbr > Key< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Add modified peer key to the dirty set< / p >
< / div >
< dl class = "tsd-comment-tags" >
< dt > param< / dt >
< dd > < / dd >
< dt > param< / dt >
< dd > < / dd >
< / dl >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a name = "_adddirtypeermetadata" class = "tsd-anchor" > < / a >
< h3 > < span class = "tsd-flag ts-flagPrivate" > Private< / span > _add< wbr > Dirty< wbr > Peer< wbr > Metadata< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _add< wbr > Dirty< wbr > Peer< wbr > Metadata< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Add modified metadata peer to the set.< / p >
< / div >
< dl class = "tsd-comment-tags" >
< dt > param< / dt >
< dd > < / dd >
< dt > param< / dt >
< dd > < / dd >
< dt > param< / dt >
< dd > < / dd >
< / dl >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a name = "_batchaddressbook" class = "tsd-anchor" > < / a >
< h3 > < span class = "tsd-flag ts-flagPrivate" > Private< / span > _batch< wbr > Address< wbr > Book< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _batch< wbr > Address< wbr > Book< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Add address book data of the peer to the batch.< / p >
< / div >
< dl class = "tsd-comment-tags" >
< dt > param< / dt >
< dd > < / dd >
< dt > param< / dt >
< dd > < / dd >
< / dl >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a name = "_batchkeybook" class = "tsd-anchor" > < / a >
< h3 > < span class = "tsd-flag ts-flagPrivate" > Private< / span > _batch< wbr > Key< wbr > Book< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _batch< wbr > Key< wbr > Book< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Add Key book data of the peer to the batch.< / p >
< / div >
< dl class = "tsd-comment-tags" >
< dt > param< / dt >
< dd > < / dd >
< dt > param< / dt >
< dd > < / dd >
< / dl >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a name = "_batchmetadatabook" class = "tsd-anchor" > < / a >
< h3 > < span class = "tsd-flag ts-flagPrivate" > Private< / span > _batch< wbr > Metadata< wbr > Book< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _batch< wbr > Metadata< wbr > Book< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Add metadata book data of the peer to the batch.< / p >
< / div >
< dl class = "tsd-comment-tags" >
< dt > param< / dt >
< dd > < / dd >
< dt > param< / dt >
< dd > < / dd >
< / dl >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a name = "_batchprotobook" class = "tsd-anchor" > < / a >
< h3 > < span class = "tsd-flag ts-flagPrivate" > Private< / span > _batch< wbr > Proto< wbr > Book< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _batch< wbr > Proto< wbr > Book< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Add proto book data of the peer to the batch.< / p >
< / div >
< dl class = "tsd-comment-tags" >
< dt > param< / dt >
< dd > < / dd >
< dt > param< / dt >
< dd > < / dd >
< / dl >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a name = "_commitdata" class = "tsd-anchor" > < / a >
< h3 > < span class = "tsd-flag ts-flagPrivate" > Private< / span > _commit< wbr > Data< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _commit< wbr > Data< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Add all the peers current data to a datastore batch and commit it.< / p >
< / div >
< dl class = "tsd-comment-tags" >
< dt > returns< / dt >
< dd > < / dd >
< / dl >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class" >
< a name = "_datastore" class = "tsd-anchor" > < / a >
< h3 > _datastore< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _datastore< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Backend datastore used to persist data.< / p >
< / div >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class" >
< a name = "_dirtymetadata" class = "tsd-anchor" > < / a >
< h3 > _dirty< wbr > Metadata< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _dirty< wbr > Metadata< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > Map< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > , < / span > < span class = "tsd-signature-type" > Set< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > > < / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Peers metadata changed mapping peer identifers to metadata changed.< / p >
< / div >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class" >
< a name = "_dirtypeers" class = "tsd-anchor" > < / a >
< h3 > _dirty< wbr > Peers< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _dirty< wbr > Peers< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > Set< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > > < / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Peers modified after the latest data persisted.< / p >
< / div >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited" >
< a name = "_peerid" class = "tsd-anchor" > < / a >
< h3 > _peer< wbr > Id< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _peer< wbr > Id< span class = "tsd-signature-symbol" > :< / span > < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < / div >
< aside class = "tsd-sources" >
< p > Inherited from < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#_peerid" > _peerId< / a > < / p >
< / aside >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a name = "_processdatastoreentry" class = "tsd-anchor" > < / a >
< h3 > < span class = "tsd-flag ts-flagPrivate" > Private< / span > _process< wbr > Datastore< wbr > Entry< / h3 >
< div class = "tsd-signature tsd-kind-icon" > _process< wbr > Datastore< wbr > Entry< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Process datastore entry and add its data to the correct book.< / p >
< / div >
< dl class = "tsd-comment-tags" >
< dt > param< / dt >
< dd > < / dd >
< dt > param< / dt >
< dd > < p > datastore key< / p >
< / dd >
< dt > param< / dt >
< dd > < p > datastore value stored< / p >
< / dd >
< dt > returns< / dt >
< dd > < / dd >
< / dl >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited" >
< a name = "addressbook" class = "tsd-anchor" > < / a >
< h3 > address< wbr > Book< / h3 >
< div class = "tsd-signature tsd-kind-icon" > address< wbr > Book< span class = "tsd-signature-symbol" > :< / span > < a href = "_peer_store_address_book_.addressbook.html" class = "tsd-signature-type" > AddressBook< / a > < / div >
< aside class = "tsd-sources" >
< p > Inherited from < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#addressbook" > addressBook< / a > < / p >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > AddressBook containing a map of peerIdStr to Address.< / p >
< / div >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited" >
< a name = "keybook" class = "tsd-anchor" > < / a >
< h3 > key< wbr > Book< / h3 >
< div class = "tsd-signature tsd-kind-icon" > key< wbr > Book< span class = "tsd-signature-symbol" > :< / span > < a href = "_peer_store_key_book_.keybook.html" class = "tsd-signature-type" > KeyBook< / a > < / div >
< aside class = "tsd-sources" >
< p > Inherited from < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#keybook" > keyBook< / a > < / p >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > KeyBook containing a map of peerIdStr to their PeerId with public keys.< / p >
< / div >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited" >
< a name = "metadatabook" class = "tsd-anchor" > < / a >
< h3 > metadata< wbr > Book< / h3 >
< div class = "tsd-signature tsd-kind-icon" > metadata< wbr > Book< span class = "tsd-signature-symbol" > :< / span > < a href = "_peer_store_metadata_book_.metadatabook.html" class = "tsd-signature-type" > MetadataBook< / a > < / div >
< aside class = "tsd-sources" >
< p > Inherited from < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#metadatabook" > metadataBook< / a > < / p >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > MetadataBook containing a map of peerIdStr to their metadata Map.< / p >
< / div >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited" >
< a name = "protobook" class = "tsd-anchor" > < / a >
< h3 > proto< wbr > Book< / h3 >
< div class = "tsd-signature tsd-kind-icon" > proto< wbr > Book< span class = "tsd-signature-symbol" > :< / span > < a href = "_peer_store_proto_book_.protobook.html" class = "tsd-signature-type" > ProtoBook< / a > < / div >
< aside class = "tsd-sources" >
< p > Inherited from < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#protobook" > protoBook< / a > < / p >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > ProtoBook containing a map of peerIdStr to supported protocols.< / p >
< / div >
< / div >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class" >
< a name = "threshold" class = "tsd-anchor" > < / a >
< h3 > threshold< / h3 >
< div class = "tsd-signature tsd-kind-icon" > threshold< span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > number< / span > < / div >
< aside class = "tsd-sources" >
< / aside >
< / section >
< / section >
< section class = "tsd-panel-group tsd-member-group tsd-is-inherited" >
< h2 > Accessors< / h2 >
< section class = "tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited" >
< a name = "peers" class = "tsd-anchor" > < / a >
< h3 > peers< / h3 >
< ul class = "tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited" >
< li class = "tsd-signature tsd-kind-icon" > < span class = "tsd-signature-symbol" > get< / span > peers< span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Map< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > , < / span > < span class = "tsd-signature-symbol" > { < / span > addresses< span class = "tsd-signature-symbol" > : < / span > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#address" class = "tsd-signature-type" > Address< / a > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > ; < / span > id< span class = "tsd-signature-symbol" > : < / span > < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < span class = "tsd-signature-symbol" > ; < / span > metadata< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Map< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > , < / span > < span class = "tsd-signature-type" > Uint8Array< / span > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > ; < / span > protocols< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > }< / span > < span class = "tsd-signature-symbol" > > < / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< p > Inherited from < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#peers" > peers< / a > < / p >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Get all the stored information of every peer known.< / p >
< / div >
< / div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Map< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > , < / span > < span class = "tsd-signature-symbol" > { < / span > addresses< span class = "tsd-signature-symbol" > : < / span > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#address" class = "tsd-signature-type" > Address< / a > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > ; < / span > id< span class = "tsd-signature-symbol" > : < / span > < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < span class = "tsd-signature-symbol" > ; < / span > metadata< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Map< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > , < / span > < span class = "tsd-signature-type" > Uint8Array< / span > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > ; < / span > protocols< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > }< / span > < span class = "tsd-signature-symbol" > > < / span > < / h4 >
< / li >
< / ul >
< / section >
< / section >
< section class = "tsd-panel-group tsd-member-group tsd-is-inherited" >
< h2 > Methods< / h2 >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "addlistener" class = "tsd-anchor" > < / a >
< h3 > add< wbr > Listener< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
2021-01-18 17:14:51 +01:00
< li class = "tsd-signature tsd-kind-icon" > add< wbr > Listener< span class = "tsd-signature-symbol" > (< / span > event< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > , listener< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > void< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < / li >
2020-12-10 15:50:24 +01:00
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#addlistener" > addListener< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > event: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < / h5 >
< / li >
< li >
< h5 > listener: < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > void< / span > < / h5 >
< ul class = "tsd-parameters" >
< li class = "tsd-parameter-signature" >
< ul class = "tsd-signatures tsd-kind-type-literal" >
< li class = "tsd-signature tsd-kind-icon" > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > void< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > < span class = "tsd-flag ts-flagRest" > Rest< / span > < span class = "tsd-signature-symbol" > ...< / span > args: < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
2021-01-18 17:14:51 +01:00
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > any< / span > < / h4 >
2020-12-10 15:50:24 +01:00
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "delete" class = "tsd-anchor" > < / a >
< h3 > delete< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< li class = "tsd-signature tsd-kind-icon" > delete< span class = "tsd-signature-symbol" > (< / span > peerId< span class = "tsd-signature-symbol" > : < / span > < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< p > Inherited from < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#delete" > delete< / a > < / p >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Delete the information of the given peer in every book.< / p >
< / div >
< / div >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > peerId: < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 >
< p > true if found and removed< / p >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "emit" class = "tsd-anchor" > < / a >
< h3 > emit< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< li class = "tsd-signature tsd-kind-icon" > emit< span class = "tsd-signature-symbol" > (< / span > event< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > , < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#emit" > emit< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > event: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < / h5 >
< / li >
< li >
< h5 > < span class = "tsd-flag ts-flagRest" > Rest< / span > < span class = "tsd-signature-symbol" > ...< / span > args: < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "get" class = "tsd-anchor" > < / a >
< h3 > get< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< li class = "tsd-signature tsd-kind-icon" > get< span class = "tsd-signature-symbol" > (< / span > peerId< span class = "tsd-signature-symbol" > : < / span > < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > { < / span > addresses< span class = "tsd-signature-symbol" > : < / span > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#address" class = "tsd-signature-type" > Address< / a > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > ; < / span > id< span class = "tsd-signature-symbol" > : < / span > < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < span class = "tsd-signature-symbol" > ; < / span > metadata< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Map< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > , < / span > < span class = "tsd-signature-type" > Uint8Array< / span > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > ; < / span > protocols< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > }< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > undefined< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< p > Inherited from < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#get" > get< / a > < / p >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Get the stored information of a given peer.< / p >
< / div >
< / div >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > peerId: < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-symbol" > { < / span > addresses< span class = "tsd-signature-symbol" > : < / span > < a href = "_peer_store_persistent_index_.persistentpeerstore.html#address" class = "tsd-signature-type" > Address< / a > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > ; < / span > id< span class = "tsd-signature-symbol" > : < / span > < a href = "../modules/_metrics_index_.html#peerid" class = "tsd-signature-type" > PeerId< / a > < span class = "tsd-signature-symbol" > ; < / span > metadata< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Map< / span > < span class = "tsd-signature-symbol" > < < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > , < / span > < span class = "tsd-signature-type" > Uint8Array< / span > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > ; < / span > protocols< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > }< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > undefined< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "getmaxlisteners" class = "tsd-anchor" > < / a >
< h3 > get< wbr > Max< wbr > Listeners< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< li class = "tsd-signature tsd-kind-icon" > get< wbr > Max< wbr > Listeners< span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#getmaxlisteners" > getMaxListeners< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > number< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "listenercount" class = "tsd-anchor" > < / a >
< h3 > listener< wbr > Count< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< li class = "tsd-signature tsd-kind-icon" > listener< wbr > Count< span class = "tsd-signature-symbol" > (< / span > event< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#listenercount" > listenerCount< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > event: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > number< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "listeners" class = "tsd-anchor" > < / a >
< h3 > listeners< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< li class = "tsd-signature tsd-kind-icon" > listeners< span class = "tsd-signature-symbol" > (< / span > event< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Function< / span > < span class = "tsd-signature-symbol" > []< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#listeners" > listeners< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > event: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Function< / span > < span class = "tsd-signature-symbol" > []< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "off" class = "tsd-anchor" > < / a >
< h3 > off< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
2021-01-18 17:14:51 +01:00
< li class = "tsd-signature tsd-kind-icon" > off< span class = "tsd-signature-symbol" > (< / span > event< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > , listener< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > void< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < / li >
2020-12-10 15:50:24 +01:00
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#off" > off< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > event: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < / h5 >
< / li >
< li >
< h5 > listener: < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > void< / span > < / h5 >
< ul class = "tsd-parameters" >
< li class = "tsd-parameter-signature" >
< ul class = "tsd-signatures tsd-kind-type-literal" >
< li class = "tsd-signature tsd-kind-icon" > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > void< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > < span class = "tsd-flag ts-flagRest" > Rest< / span > < span class = "tsd-signature-symbol" > ...< / span > args: < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
2021-01-18 17:14:51 +01:00
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > any< / span > < / h4 >
2020-12-10 15:50:24 +01:00
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "on" class = "tsd-anchor" > < / a >
< h3 > on< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
2021-01-18 17:14:51 +01:00
< li class = "tsd-signature tsd-kind-icon" > on< span class = "tsd-signature-symbol" > (< / span > event< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > , listener< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > void< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < / li >
2020-12-10 15:50:24 +01:00
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#on" > on< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > event: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < / h5 >
< / li >
< li >
< h5 > listener: < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > void< / span > < / h5 >
< ul class = "tsd-parameters" >
< li class = "tsd-parameter-signature" >
< ul class = "tsd-signatures tsd-kind-type-literal" >
< li class = "tsd-signature tsd-kind-icon" > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > void< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > < span class = "tsd-flag ts-flagRest" > Rest< / span > < span class = "tsd-signature-symbol" > ...< / span > args: < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
2021-01-18 17:14:51 +01:00
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > any< / span > < / h4 >
2020-12-10 15:50:24 +01:00
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "once" class = "tsd-anchor" > < / a >
< h3 > once< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
2021-01-18 17:14:51 +01:00
< li class = "tsd-signature tsd-kind-icon" > once< span class = "tsd-signature-symbol" > (< / span > event< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > , listener< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > void< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < / li >
2020-12-10 15:50:24 +01:00
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#once" > once< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > event: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < / h5 >
< / li >
< li >
< h5 > listener: < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > void< / span > < / h5 >
< ul class = "tsd-parameters" >
< li class = "tsd-parameter-signature" >
< ul class = "tsd-signatures tsd-kind-type-literal" >
< li class = "tsd-signature tsd-kind-icon" > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > void< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > < span class = "tsd-flag ts-flagRest" > Rest< / span > < span class = "tsd-signature-symbol" > ...< / span > args: < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
2021-01-18 17:14:51 +01:00
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > any< / span > < / h4 >
2020-12-10 15:50:24 +01:00
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "rawlisteners" class = "tsd-anchor" > < / a >
< h3 > raw< wbr > Listeners< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< li class = "tsd-signature tsd-kind-icon" > raw< wbr > Listeners< span class = "tsd-signature-symbol" > (< / span > event< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > Function< / span > < span class = "tsd-signature-symbol" > []< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#rawlisteners" > rawListeners< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > event: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > Function< / span > < span class = "tsd-signature-symbol" > []< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "removealllisteners" class = "tsd-anchor" > < / a >
< h3 > remove< wbr > All< wbr > Listeners< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
2021-01-18 17:14:51 +01:00
< li class = "tsd-signature tsd-kind-icon" > remove< wbr > All< wbr > Listeners< span class = "tsd-signature-symbol" > (< / span > event< span class = "tsd-signature-symbol" > ?: < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < / li >
2020-12-10 15:50:24 +01:00
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#removealllisteners" > removeAllListeners< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > < span class = "tsd-flag ts-flagOptional" > Optional< / span > event: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < / h5 >
< / li >
< / ul >
2021-01-18 17:14:51 +01:00
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > any< / span > < / h4 >
2020-12-10 15:50:24 +01:00
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "removelistener" class = "tsd-anchor" > < / a >
< h3 > remove< wbr > Listener< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
2021-01-18 17:14:51 +01:00
< li class = "tsd-signature tsd-kind-icon" > remove< wbr > Listener< span class = "tsd-signature-symbol" > (< / span > event< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > , listener< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > void< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < / li >
2020-12-10 15:50:24 +01:00
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#removelistener" > removeListener< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > event: < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > | < / span > < span class = "tsd-signature-type" > symbol< / span > < / h5 >
< / li >
< li >
< h5 > listener: < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > => < / span > < span class = "tsd-signature-type" > void< / span > < / h5 >
< ul class = "tsd-parameters" >
< li class = "tsd-parameter-signature" >
< ul class = "tsd-signatures tsd-kind-type-literal" >
< li class = "tsd-signature tsd-kind-icon" > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > ...< / span > args< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > void< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > < span class = "tsd-flag ts-flagRest" > Rest< / span > < span class = "tsd-signature-symbol" > ...< / span > args: < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > []< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
2021-01-18 17:14:51 +01:00
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > any< / span > < / h4 >
2020-12-10 15:50:24 +01:00
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "setmaxlisteners" class = "tsd-anchor" > < / a >
< h3 > set< wbr > Max< wbr > Listeners< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
2021-01-18 17:14:51 +01:00
< li class = "tsd-signature tsd-kind-icon" > set< wbr > Max< wbr > Listeners< span class = "tsd-signature-symbol" > (< / span > n< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < / li >
2020-12-10 15:50:24 +01:00
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
2021-01-18 17:14:51 +01:00
< p > Inherited from < a href = "../interfaces/_types_.eventemitter.html" > EventEmitter< / a > .< a href = "../interfaces/_types_.eventemitter.html#setmaxlisteners" > setMaxListeners< / a > < / p >
2020-12-10 15:50:24 +01:00
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > n: < span class = "tsd-signature-type" > number< / span > < / h5 >
< / li >
< / ul >
2021-01-18 17:14:51 +01:00
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > any< / span > < / h4 >
2020-12-10 15:50:24 +01:00
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "start" class = "tsd-anchor" > < / a >
< h3 > start< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< li class = "tsd-signature tsd-kind-icon" > start< span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > void< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< p > Inherited from < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#start" > start< / a > < / p >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Start the PeerStore.< / p >
< / div >
< / div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a name = "stop" class = "tsd-anchor" > < / a >
< h3 > stop< / h3 >
< ul class = "tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< li class = "tsd-signature tsd-kind-icon" > stop< span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > void< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< p > Inherited from < a href = "_peer_store_index_.peerstore.html" > PeerStore< / a > .< a href = "_peer_store_index_.peerstore.html#stop" > stop< / a > < / p >
< / aside >
< div class = "tsd-comment tsd-typography" >
< div class = "lead" >
< p > Stop the PeerStore.< / p >
< / div >
< / div >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 >
< / li >
< / ul >
< / section >
< / section >
< / div >
< div class = "col-4 col-menu menu-sticky-wrap menu-highlight" >
< nav class = "tsd-navigation primary" >
< ul >
< li class = "current tsd-kind-module" >
< a href = "../modules/_peer_store_persistent_index_.html" > peer-store/persistent/index< / a >
< / li >
< / ul >
< / nav >
< nav class = "tsd-navigation secondary menu-sticky" >
< ul class = "before-current" >
< / ul >
< ul class = "current" >
< li class = "current tsd-kind-class tsd-parent-kind-module" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html" class = "tsd-kind-icon" > Persistent< wbr > Peer< wbr > Store< / a >
< ul >
< li class = " tsd-kind-reference tsd-parent-kind-class" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#address" class = "tsd-kind-icon" > Address< / a >
< / li >
2021-01-18 17:14:51 +01:00
< li class = " tsd-kind-reference tsd-parent-kind-class" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#events" class = "tsd-kind-icon" > Events< / a >
< / li >
2020-12-10 15:50:24 +01:00
< li class = " tsd-kind-reference tsd-parent-kind-class" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#persistentpeerstoreoptions" class = "tsd-kind-icon" > Persistent< wbr > Peer< wbr > Store< wbr > Options< / a >
< / li >
< li class = " tsd-kind-reference tsd-parent-kind-class" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#persistentpeerstoreproperties" class = "tsd-kind-icon" > Persistent< wbr > Peer< wbr > Store< wbr > Properties< / a >
< / li >
< li class = " tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#constructor" class = "tsd-kind-icon" > constructor< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_adddirtypeer" class = "tsd-kind-icon" > _add< wbr > Dirty< wbr > Peer< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_adddirtypeerkey" class = "tsd-kind-icon" > _add< wbr > Dirty< wbr > Peer< wbr > Key< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_adddirtypeermetadata" class = "tsd-kind-icon" > _add< wbr > Dirty< wbr > Peer< wbr > Metadata< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_batchaddressbook" class = "tsd-kind-icon" > _batch< wbr > Address< wbr > Book< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_batchkeybook" class = "tsd-kind-icon" > _batch< wbr > Key< wbr > Book< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_batchmetadatabook" class = "tsd-kind-icon" > _batch< wbr > Metadata< wbr > Book< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_batchprotobook" class = "tsd-kind-icon" > _batch< wbr > Proto< wbr > Book< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_commitdata" class = "tsd-kind-icon" > _commit< wbr > Data< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_datastore" class = "tsd-kind-icon" > _datastore< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_dirtymetadata" class = "tsd-kind-icon" > _dirty< wbr > Metadata< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_dirtypeers" class = "tsd-kind-icon" > _dirty< wbr > Peers< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_peerid" class = "tsd-kind-icon" > _peer< wbr > Id< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-private" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#_processdatastoreentry" class = "tsd-kind-icon" > _process< wbr > Datastore< wbr > Entry< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#addressbook" class = "tsd-kind-icon" > address< wbr > Book< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#keybook" class = "tsd-kind-icon" > key< wbr > Book< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#metadatabook" class = "tsd-kind-icon" > metadata< wbr > Book< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#protobook" class = "tsd-kind-icon" > proto< wbr > Book< / a >
< / li >
< li class = " tsd-kind-property tsd-parent-kind-class" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#threshold" class = "tsd-kind-icon" > threshold< / a >
< / li >
< li class = " tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#peers" class = "tsd-kind-icon" > peers< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#addlistener" class = "tsd-kind-icon" > add< wbr > Listener< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#delete" class = "tsd-kind-icon" > delete< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#emit" class = "tsd-kind-icon" > emit< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#get" class = "tsd-kind-icon" > get< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#getmaxlisteners" class = "tsd-kind-icon" > get< wbr > Max< wbr > Listeners< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#listenercount" class = "tsd-kind-icon" > listener< wbr > Count< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#listeners" class = "tsd-kind-icon" > listeners< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#off" class = "tsd-kind-icon" > off< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#on" class = "tsd-kind-icon" > on< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#once" class = "tsd-kind-icon" > once< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#rawlisteners" class = "tsd-kind-icon" > raw< wbr > Listeners< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#removealllisteners" class = "tsd-kind-icon" > remove< wbr > All< wbr > Listeners< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#removelistener" class = "tsd-kind-icon" > remove< wbr > Listener< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#setmaxlisteners" class = "tsd-kind-icon" > set< wbr > Max< wbr > Listeners< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#start" class = "tsd-kind-icon" > start< / a >
< / li >
< li class = " tsd-kind-method tsd-parent-kind-class tsd-is-inherited" >
< a href = "_peer_store_persistent_index_.persistentpeerstore.html#stop" class = "tsd-kind-icon" > stop< / a >
< / li >
< / ul >
< / li >
< / ul >
< ul class = "after-current" >
< li class = " tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported" >
< a href = "../modules/_peer_store_persistent_index_.html#persistentpeerstoreoptions" class = "tsd-kind-icon" > Persistent< wbr > Peer< wbr > Store< wbr > Options< / a >
< / li >
< li class = " tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported" >
< a href = "../modules/_peer_store_persistent_index_.html#persistentpeerstoreproperties" class = "tsd-kind-icon" > Persistent< wbr > Peer< wbr > Store< wbr > Properties< / a >
< / li >
< li class = " tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported" >
< a href = "../modules/_peer_store_persistent_index_.html#persistentpeerstore_base" class = "tsd-kind-icon" > Persistent< wbr > Peer< wbr > Store_< wbr > base< / a >
< / li >
< / ul >
< / nav >
< / div >
< / div >
< / div >
< footer >
< div class = "container" >
< h2 > Legend< / h2 >
< div class = "tsd-legend-group" >
< ul class = "tsd-legend" >
< li class = "tsd-kind-namespace" > < span class = "tsd-kind-icon" > Namespace< / span > < / li >
< li class = "tsd-kind-variable" > < span class = "tsd-kind-icon" > Variable< / span > < / li >
< li class = "tsd-kind-function" > < span class = "tsd-kind-icon" > Function< / span > < / li >
< li class = "tsd-kind-type-alias" > < span class = "tsd-kind-icon" > Type alias< / span > < / li >
< / ul >
< ul class = "tsd-legend" >
< li class = "tsd-kind-class" > < span class = "tsd-kind-icon" > Class< / span > < / li >
< li class = "tsd-kind-class tsd-has-type-parameter" > < span class = "tsd-kind-icon" > Class with type parameter< / span > < / li >
< li class = "tsd-kind-constructor tsd-parent-kind-class" > < span class = "tsd-kind-icon" > Constructor< / span > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class" > < span class = "tsd-kind-icon" > Property< / span > < / li >
< / ul >
< ul class = "tsd-legend" >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-inherited" > < span class = "tsd-kind-icon" > Inherited property< / span > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < span class = "tsd-kind-icon" > Inherited method< / span > < / li >
< / ul >
< ul class = "tsd-legend" >
< li class = "tsd-kind-enum" > < span class = "tsd-kind-icon" > Enumeration< / span > < / li >
< / ul >
2021-01-18 17:14:51 +01:00
< ul class = "tsd-legend" >
< li class = "tsd-kind-interface" > < span class = "tsd-kind-icon" > Interface< / span > < / li >
< / ul >
2020-12-10 15:50:24 +01:00
< ul class = "tsd-legend" >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-private" > < span class = "tsd-kind-icon" > Private property< / span > < / li >
< / ul >
< / div >
< / div >
< / footer >
< div class = "overlay" > < / div >
< script src = "../assets/js/main.js" > < / script >
< / body >
< / html >