Preparing search index...
The search index is not available
Streamr Client - v7.0.2
Streamr Client - v7.0.2
Subscription
Class Subscription<T>
Type Parameters
T =
unknown
Hierarchy
MessageStream
<
T
>
Subscription
Index
Properties
stream
Part
Id
Methods
[async
Iterator]
off
on
once
unsubscribe
Properties
Readonly
stream
Part
Id
stream
Part
Id
:
StreamPartID
Methods
[async
Iterator]
[async
Iterator]
(
)
:
AsyncIterator
<
Message
,
any
,
undefined
>
Returns
AsyncIterator
<
Message
,
any
,
undefined
>
off
off
<
E
>
(
eventName
:
E
, listener
:
SubscriptionEvents
[
E
]
)
:
void
Type Parameters
E
extends
keyof
SubscriptionEvents
Parameters
eventName:
E
listener:
SubscriptionEvents
[
E
]
Returns
void
on
on
<
E
>
(
eventName
:
E
, listener
:
SubscriptionEvents
[
E
]
)
:
void
Type Parameters
E
extends
keyof
SubscriptionEvents
Parameters
eventName:
E
listener:
SubscriptionEvents
[
E
]
Returns
void
once
once
<
E
>
(
eventName
:
E
, listener
:
SubscriptionEvents
[
E
]
)
:
void
Type Parameters
E
extends
keyof
SubscriptionEvents
Parameters
eventName:
E
listener:
SubscriptionEvents
[
E
]
Returns
void
unsubscribe
unsubscribe
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
Streamr
Client -
v7.0.2
Subscription
stream
Part
Id
[async
Iterator]
off
on
once
unsubscribe
Generated using
TypeDoc