Preparing search index...
The search index is not available
Documentation
Documentation
@libp2p/interface-pubsub
TopicValidatorFn
Interface TopicValidatorFn
Hierarchy
TopicValidatorFn
Topic
Validator
Fn
(
peer
:
PeerId
, message
:
Message
)
:
TopicValidatorResult
|
Promise
<
TopicValidatorResult
>
Parameters
peer:
PeerId
message:
Message
Returns
TopicValidatorResult
|
Promise
<
TopicValidatorResult
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Documentation
@libp2p/interface-
address-
manager -
v3.0.1
@libp2p/interface-
compliance-
tests -
v3.0.7
@libp2p/interface-
connection -
v5.1.1
<internal>
@libp2p/interface-
connection-
compliance-
tests -
v2.0.9
<internal>
@libp2p/interface-
connection-
encrypter -
v4.0.1
<internal>
@libp2p/interface-
connection-
encrypter-
compliance-
tests -
v5.0.1
<internal>
@libp2p/interface-
connection-
gater -
v3.0.1
<internal>
@libp2p/interface-
connection-
manager -
v3.0.1
<internal>
@libp2p/interface-
content-
routing -
v2.1.1
<internal>
@libp2p/interface-
dht -
v2.0.3
<internal>
@libp2p/interface-
keychain -
v2.0.5
<internal>
@libp2p/interface-
keys -
v1.0.8
@libp2p/interface-
libp2p -
v3.2.0
<internal>
@libp2p/interface-
metrics -
v4.0.8
<internal>
@libp2p/interface-
mocks -
v12.0.1
<internal>
@libp2p/interface-
peer-
discovery -
v2.0.0
<internal>
@libp2p/interface-
peer-
discovery-
compliance-
tests -
v2.0.8
<internal>
@libp2p/interface-
peer-
id -
v2.0.2
<internal>
@libp2p/interface-
peer-
info -
v1.0.10
<internal>
@libp2p/interface-
peer-
routing -
v1.1.1
<internal>
@libp2p/interface-
peer-
store -
v2.0.4
<internal>
@libp2p/interface-
pubsub -
v4.0.1
<internal>
@libp2p/interface-
pubsub-
compliance-
tests -
v5.0.7
<internal>
@libp2p/interface-
record -
v2.0.7
<internal>
@libp2p/interface-
record-
compliance-
tests -
v2.0.5
<internal>
@libp2p/interface-
registrar -
v2.0.12
<internal>
@libp2p/interface-
stream-
muxer -
v4.1.2
<internal>
@libp2p/interface-
stream-
muxer-
compliance-
tests -
v7.0.3
<internal>
@libp2p/interface-
transport -
v4.0.3
<internal>
@libp2p/interface-
transport-
compliance-
tests -
v4.0.2
<internal>
@libp2p/interfaces -
v3.3.2
Topic
Validator
Result
Peer
Stream
Events
Peer
Streams
Pub
Sub
Pub
Sub
Events
Pub
Sub
Init
Pub
SubRPC
Pub
SubRPCMessage
Pub
SubRPCSubscription
Publish
Result
Signed
Message
Subscription
Change
Data
Topic
Validator
Fn
Unsigned
Message
Message
Signature
Policy
Strict
No
Sign
Strict
Sign