Preparing search index...
The search index is not available
libp2p
libp2p
@libp2p/interface
StopTimer
Interface StopTimer
Call this function to stop the timer returned from the
.timer
method on the metric
interface
StopTimer
(
(
)
=>
void
)
Stop
Timer
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
libp2p
@libp2p
auto-tls
AutoTLS
AutoTLSComponents
AutoTLSInit
autoTLS
config
LoadOrCreateSelfKeyOptions
loadOrCreateSelfKey
plaintext
PlaintextComponents
plaintext
tls
TLSComponents
PROTOCOL
tls
crypto
ciphers
AES_GCM
create
hmac
HMAC
create
index
hmac
keys
pbkdf2
randomBytes
keys
ECDHKey
ECDHKeyPair
EnhancedKey
EnhancedKeyPair
Curve
generateEphemeralKeyPair
generateKeyPair
generateKeyPairFromSeed
keyStretcher
privateKeyFromProtobuf
privateKeyFromRaw
privateKeyToProtobuf
publicKeyFromMultihash
publicKeyFromProtobuf
publicKeyFromRaw
publicKeyToProtobuf
webcrypto
default
interface
FaultTolerance
TopicValidatorResult
AbortError
AlreadyStartedError
ConnectionClosedError
ConnectionClosingError
ConnectionFailedError
DialError
InvalidCIDError
InvalidCryptoExchangeError
InvalidMessageError
InvalidMultiaddrError
InvalidMultihashError
InvalidParametersError
InvalidPeerIdError
InvalidPrivateKeyError
InvalidPublicKeyError
LimitedConnectionError
ListenError
MuxerClosedError
NotFoundError
NotStartedError
ProtocolError
StreamResetError
StreamStateError
TimeoutError
TooManyInboundProtocolStreamsError
TooManyOutboundProtocolStreamsError
TypedEventEmitter
UnexpectedPeerError
UnsupportedKeyTypeError
UnsupportedOperationError
UnsupportedProtocolError
AbortOptions
Address
AddressSorter
CalculatedHistogramOptions
CalculatedMetricOptions
CalculatedSummaryOptions
ComponentLogger
Connection
ConnectionEncrypter
ConnectionGater
ConnectionLimits
ConnectionProtector
ConnectionTimeline
ContentRouting
ContentRoutingProvider
Counter
CounterGroup
CreateListenerOptions
DialOptions
DialProtocolOptions
DialTransportOptions
Ed25519PeerId
Ed25519PrivateKey
Ed25519PublicKey
Envelope
EventCallback
EventObject
Histogram
HistogramGroup
HistogramOptions
IdentifyResult
IncomingStreamData
IsDialableOptions
Libp2p
Libp2pEvents
Listener
ListenerEvents
Logger
LoggerOptions
Metric
MetricGroup
MetricOptions
Metrics
MultiaddrConnection
MultiaddrConnectionTimeline
MultiaddrFilter
NewStreamOptions
NodeInfo
Peer
PeerData
PeerDiscovery
PeerDiscoveryEvents
PeerDiscoveryProvider
PeerInfo
PeerQuery
PeerQueryFilter
PeerQueryOrder
PeerRouting
PeerRoutingProvider
PeerStore
PeerStreamEvents
PeerStreams
PeerUpdate
PendingDial
PubSub
PubSubEvents
PubSubInit
PubSubRPC
PubSubRPCMessage
PubSubRPCSubscription
PublishResult
RSAPeerId
RSAPrivateKey
RSAPublicKey
Record
RoutingOptions
Secp256k1PeerId
Secp256k1PrivateKey
Secp256k1PublicKey
SecureConnectionOptions
SecuredConnection
SignedMessage
SignedPeerRecord
Startable
StopTimer
Stream
StreamHandler
StreamHandlerOptions
StreamHandlerRecord
StreamMuxer
StreamMuxerFactory
StreamMuxerInit
StreamTimeline
Subscription
SubscriptionChangeData
Summary
SummaryGroup
SummaryOptions
TLSCertificate
Tag
TagOptions
TopicValidatorFn
Topology
TopologyFilter
TraceFunctionOptions
TraceGeneratorFunctionOptions
TraceOptions
Transport
TypedEventTarget
URLPeerId
UnsignedMessage
Upgrader
UpgraderOptions
CalculateMetric
ConnectionStatus
Direction
EventHandler
InboundConnectionUpgradeEvents
KeyType
Libp2pStatus
Message
OpenConnectionProgressEvents
OutboundConnectionUpgradeEvents
PeerId
PeerIdType
PendingDialStatus
PrivateKey
PublicKey
ReadStatus
ServiceMap
SignaturePolicy
StreamStatus
TraceAttributes
TransportManagerDialProgressEvents
WriteStatus
KEEP_ALIVE
StrictNoSign
StrictSign
connectionSymbol
contentRoutingSymbol
peerDiscoverySymbol
peerIdSymbol
peerRoutingSymbol
pubSubSymbol
serviceCapabilities
serviceDependencies
transportSymbol
isConnection
isPeerId
isPrivateKey
isPubSub
isPublicKey
isStartable
isTransport
setMaxListeners
start
stop
interface-compliance-tests
connection-encryption
ConnectionEncrypterSetupArgs
default
index
TestSetup
is-valid-tick
isValidTick
matchers
matchMultiaddr
matchPeerId
mocks
MockNetwork
MockConnectionManagerComponents
MockConnectionOptions
MockMultiaddrConnPairOptions
MockNetworkComponents
MockUpgraderInit
StreamInit
StreamPairInit
mockNetwork
connectionPair
mockConnection
mockConnectionManager
mockDuplex
mockMultiaddrConnPair
mockMultiaddrConnection
mockMuxer
mockRegistrar
mockStream
mockUpgrader
streamPair
peer-discovery
default
pubsub
PubSubArgs
PubSubComponents
default
stream-muxer
default
transport
TransportTestFixtures
default
interface-internal
AddressManager
ConfirmAddressOptions
ConnectionManager
Envelope
IncomingStreamData
NodeAddress
OpenConnectionOptions
RandomWalk
Record
Registrar
StreamHandler
StreamHandlerOptions
StreamHandlerRecord
TransportManager
TransportManagerDialOptions
AddressType
kad-dht
MessageType
codec
EventTypes
MessageType
Record
AddPeerEvent
DHTRecord
DialPeerEvent
FinalPeerEvent
KadDHT
KadDHTComponents
KadDHTInit
PeerInfoMapper
PeerResponseEvent
ProviderEvent
ProvidersInit
QueryErrorEvent
ReProvideInit
RoutingTable
SelectFn
SendQueryEvent
SingleKadDHT
ValidateFn
ValueEvent
DHTProgressEvents
MessageName
QueryEvent
Selectors
Validators
kadDHT
passthroughMapper
removePrivateAddressesMapper
removePublicAddressesMapper
keychain
DEKConfig
KeyInfo
Keychain
KeychainComponents
KeychainInit
keychain
logger
ComponentLogger
Logger
PeerLoggerOptions
defaultLogger
disable
enable
enabled
logger
peerLogger
prefixLogger
devtools-metrics
index
DevToolsEvents
DevToolsRPC
MetricsRPC
Peer
PeerAddress
valueCodecs
Address
CopyToClipboardMessage
DevToolsMetricsComponents
DevToolsMetricsInit
PageLoadedMessage
PermissionsErrorMessage
RPCMessage
ApplicationMessage
DevToolsMessage
WorkerMessage
LIBP2P_DEVTOOLS_METRICS_KEY
SOURCE_CONTENT_SCRIPT
SOURCE_DEVTOOLS
SOURCE_METRICS
SOURCE_SERVICE_WORKER
devToolsMetrics
rpc
DevToolsEvents
DevToolsRPC
MetricsRPC
Peer
PeerAddress
valueCodecs
opentelemetry-metrics
OpenTelemetryComponents
OpenTelemetryMetricsInit
openTelemetryMetrics
prometheus-metrics
PrometheusCalculatedHistogramOptions
PrometheusCalculatedMetricOptions
PrometheusCalculatedSummaryOptions
PrometheusMetricsComponents
PrometheusMetricsInit
exponentialBuckets
linearBuckets
prometheusMetrics
simple-metrics
OnMetrics
SimpleMetricsInit
simpleMetrics
multistream-select
MultistreamSelectInit
ProtocolStream
SelectStream
PROTOCOL_ID
handle
select
peer-collections
PeerFilter
PeerList
PeerMap
PeerSet
TrackedPeerListInit
TrackedPeerMapInit
TrackedPeerSetInit
peerFilter
peerList
peerMap
peerSet
trackedPeerList
trackedPeerMap
trackedPeerSet
bootstrap
BootstrapComponents
BootstrapInit
bootstrap
mdns
MulticastDNSComponents
MulticastDNSInit
mdns
peer-id
peerIdFromCID
peerIdFromMultihash
peerIdFromPrivateKey
peerIdFromPublicKey
peerIdFromString
peer-record
PeerRecord
RecordEnvelope
PeerRecordInit
RecordEnvelopeInit
peer-store
AddressFilter
PersistentPeerStoreComponents
PersistentPeerStoreInit
persistentPeerStore
pnet
ProtectorComponents
ProtectorInit
generateKey
preSharedKey
autonat
AutoNATComponents
AutoNATServiceInit
autoNAT
dcutr
DCUtRServiceComponents
DCUtRServiceInit
multicodec
dcutr
echo
Echo
EchoComponents
EchoInit
echo
fetch
Fetch
FetchComponents
FetchInit
LookupFunction
fetch
identify
Identify
IdentifyComponents
IdentifyInit
IdentifyPush
IdentifyPushComponents
IdentifyPushInit
identify
identifyPush
perf
Perf
PerfComponents
PerfInit
PerfOptions
PerfOutput
perf
ping
PingService
PingServiceComponents
PingServiceInit
PING_PROTOCOL
ping
pubsub
index
PubSubBaseProtocol
PubSubComponents
peer-streams
PeerStreams
PeerStreamsComponents
PeerStreamsInit
utils
anyMatch
bigIntFromBytes
bigIntToBytes
ensureArray
msgId
noSignMsgId
randomSeqno
toMessage
toRpcMessage
floodsub
FloodSubComponents
FloodSubInit
multicodec
floodsub
record
Libp2pRecord
mplex
MplexComponents
MplexInit
mplex
circuit-relay-v2
Limit
codec
decode
encode
CircuitRelayServerComponents
CircuitRelayServerInit
CircuitRelayService
CircuitRelayServiceEvents
CircuitRelayTransportComponents
CircuitRelayTransportInit
Limit
RelayDiscoveryComponents
RelayReservation
ServerReservationStoreInit
TransportReservationStoreInit
RELAY_V2_HOP_CODEC
RELAY_V2_STOP_CODEC
circuitRelayServer
circuitRelayTransport
memory
MemoryTransportComponents
MemoryTransportInit
memory
tcp
CloseServerOnMaxConnectionsOpts
TCPComponents
TCPCreateListenerOptions
TCPDialOptions
TCPMetrics
TCPOptions
TCPSocketOptions
TCPDialEvents
tcp
webrtc
DataChannelOptions
WebRTCDirectTransportComponents
WebRTCTransportComponents
WebRTCTransportDirectInit
WebRTCTransportInit
webRTC
webRTCDirect
websockets
filters
all
dnsWsOrWss
dnsWss
wss
index
WebSocketsComponents
WebSocketsInit
WebSocketsMetrics
WebSocketsDialEvents
webSockets
webtransport
WebTransportCertificate
WebTransportComponents
WebTransportInit
WebTransportMetrics
WebTransportDialEvents
webTransport
upnp-nat
MapPortOptions
PMPOptions
UPnPNAT
UPnPNATClient
UPnPNATComponents
UPnPNATInit
uPnPNAT
utils
abort-options
createTimeoutOptions
abstract-stream
AbstractStream
AbstractStreamInit
adaptive-timeout
AdaptiveTimeout
AdaptiveTimeoutInit
AdaptiveTimeoutSignal
GetTimeoutSignalOptions
DEFAULT_FAILURE_MULTIPLIER
DEFAULT_MIN_TIMEOUT
DEFAULT_TIMEOUT_MULTIPLIER
array-equals
arrayEquals
close
SafelyCloseConnectionOptions
safelyCloseConnectionIfUnused
safelyCloseStream
close-source
closeSource
debounce
DebouncedFunction
debounce
filters
BloomFilter
Bucket
CuckooFilter
Fingerprint
ScalableCuckooFilter
BloomFilterOptions
CuckooFilterInit
Filter
Hash
ScalableCuckooFilterInit
createBloomFilter
createCuckooFilter
createScalableCuckooFilter
global-unicast-ip
isGlobalUnicastIp
index
ip-port-to-multiaddr
ipPortToMultiaddr
is-promise
isPromise
link-local-ip
isLinkLocalIp
moving-average
MovingAverage
multiaddr
is-global-unicast
isGlobalUnicast
is-link-local
isLinkLocal
is-loopback
isLoopback
is-private
isPrivate
peer-queue
PeerQueue
PeerQueueJobOptions
priority-queue
PriorityQueue
PriorityQueueJobOptions
private-ip
isPrivateIp
queue
Job
JobRecipient
Queue
Comparator
JobMatcher
JobTimeline
QueueEvents
QueueInit
QueueJobFailure
QueueJobSuccess
RunFunction
JobStatus
rate-limiter
MemoryStorage
RateLimiter
GetKeySecDurationOptions
RateLimiterInit
RateLimiterResult
RateRecord
repeating-task
RepeatingTask
RepeatingTaskOptions
repeatingTask
stream-to-ma-conn
StreamProperties
streamToMaConnection
tracked-list
CreateTrackedListInit
trackedList
tracked-map
CreateTrackedMapInit
TrackedMapInit
trackedMap
libp2p
index
AddressFilter
AddressManagerInit
ConnectionManagerInit
ConnectionMonitorInit
Libp2p
Libp2pInit
TransportManagerInit
Libp2pOptions
ServiceFactoryMap
createLibp2p
version
name
version
Call this function to stop the timer returned from the
.timer
method on the metric