Documentation
Preparing search index...
@waku/sdk
IDecoder
Interface IDecoder<T>
interface
IDecoder
<
T
extends
IDecodedMessage
>
{
contentTopic
:
string
;
fromProtoObj
:
(
pubsubTopic
:
string
,
proto
:
IProtoMessage
,
)
=>
Promise
<
undefined
|
T
>
;
fromWireToProtoObj
:
(
bytes
:
Uint8Array
,
)
=>
Promise
<
undefined
|
IProtoMessage
>
;
pubsubTopic
:
string
;
}
Type Parameters
T
extends
IDecodedMessage
Implemented by
Decoder
Index
Properties
content
Topic
from
Proto
Obj
from
Wire
To
Proto
Obj
pubsub
Topic
Properties
content
Topic
contentTopic
:
string
from
Proto
Obj
fromProtoObj
:
(
pubsubTopic
:
string
,
proto
:
IProtoMessage
,
)
=>
Promise
<
undefined
|
T
>
from
Wire
To
Proto
Obj
fromWireToProtoObj
:
(
bytes
:
Uint8Array
)
=>
Promise
<
undefined
|
IProtoMessage
>
pubsub
Topic
pubsubTopic
:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
content
Topic
from
Proto
Obj
from
Wire
To
Proto
Obj
pubsub
Topic
Documentation
Loading...