Preparing search index...
The search index is not available
Documentation
Documentation
@waku/interfaces
IReceiver
Interface IReceiver
interface
IReceiver
{
subscribe
:
(
<
T
>
(
decoders
,
callback
)
=>
Unsubscribe
|
Promise
<
Unsubscribe
>
)
;
toSubscriptionIterator
:
(
<
T
>
(
decoders
)
=>
Promise
<
IAsyncIterator
<
T
>
>
)
;
}
Index
Properties
subscribe
to
Subscription
Iterator
Properties
subscribe
subscribe
:
(
<
T
>
(
decoders
,
callback
)
=>
Unsubscribe
|
Promise
<
Unsubscribe
>
)
Type declaration
<
T
>
(
decoders
,
callback
)
:
Unsubscribe
|
Promise
<
Unsubscribe
>
Type Parameters
T
extends
IDecodedMessage
Parameters
decoders
:
IDecoder
<
T
>
|
IDecoder
<
T
>
[]
callback
:
Callback
<
T
>
Returns
Unsubscribe
|
Promise
<
Unsubscribe
>
to
Subscription
Iterator
to
Subscription
Iterator
:
(
<
T
>
(
decoders
)
=>
Promise
<
IAsyncIterator
<
T
>
>
)
Type declaration
<
T
>
(
decoders
)
:
Promise
<
IAsyncIterator
<
T
>
>
Type Parameters
T
extends
IDecodedMessage
Parameters
decoders
:
IDecoder
<
T
>
|
IDecoder
<
T
>
[]
Returns
Promise
<
IAsyncIterator
<
T
>
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
subscribe
to
Subscription
Iterator
Documentation
@waku
interfaces
utils
message-hash
proto
enr
core
relay
peer-exchange
dns-discovery
local-discovery
message-encryption
sdk
browser-tests
Generated using
TypeDoc