Preparing search index...
The search index is not available
Documentation
Documentation
@waku/sdk
IEncoder
Interface IEncoder
interface
IEncoder
{
contentTopic
:
string
;
ephemeral
:
boolean
;
pubsubTopic
:
string
;
toProtoObj
:
(
(
message
)
=>
Promise
<
undefined
|
IProtoMessage
>
)
;
toWire
:
(
(
message
)
=>
Promise
<
undefined
|
Uint8Array
>
)
;
}
Implemented by
Encoder
Index
Properties
content
Topic
ephemeral
pubsub
Topic
to
Proto
Obj
to
Wire
Properties
content
Topic
content
Topic
:
string
ephemeral
ephemeral
:
boolean
pubsub
Topic
pubsub
Topic
:
string
to
Proto
Obj
to
Proto
Obj
:
(
(
message
)
=>
Promise
<
undefined
|
IProtoMessage
>
)
Type declaration
(
message
)
:
Promise
<
undefined
|
IProtoMessage
>
Parameters
message
:
IMessage
Returns
Promise
<
undefined
|
IProtoMessage
>
to
Wire
to
Wire
:
(
(
message
)
=>
Promise
<
undefined
|
Uint8Array
>
)
Type declaration
(
message
)
:
Promise
<
undefined
|
Uint8Array
>
Parameters
message
:
IMessage
Returns
Promise
<
undefined
|
Uint8Array
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
content
Topic
ephemeral
pubsub
Topic
to
Proto
Obj
to
Wire
Documentation
Loading...