Preparing search index...
The search index is not available
mithic - v0.3.0
mithic
@mithic/messaging
waitForPeer
Function waitForPeer
wait
For
Peer
<
Peer
>
(
sub
,
topic
,
peer
,
options
?
)
:
Promise
<
void
>
Waits for peer to be connected to specified topic.
Type Parameters
Peer
extends
StringEquatable
<
Peer
>
Parameters
sub
:
MessageSubscriptionState
<
Peer
>
topic
:
string
peer
:
Peer
Optional
options
:
AbortOptions
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
mithic - v0.3.0
@mithic/collections - v0.3.0
@mithic/commons - v0.3.0
@mithic/cqrs - v0.3.0
@mithic/crdt - v0.3.0
@mithic/jsonr - v0.3.0
@mithic/messaging - v0.3.0
@mithic/denokv - v0.3.0
@mithic/ipfs - v0.3.0
@mithic/level - v0.3.0
@mithic/redis - v0.3.0
Generated using
TypeDoc
Waits for peer to be connected to specified topic.