tupelo-wasm-sdk

Home > tupelo-wasm-sdk > IPubSub

IPubSub interface

The interface describing libp2p pubsub

Signature:

export interface IPubSub 

Methods

Method Description
publish(topic, data, cb)  
subscribe(topic, onMsg, cb)  
unsubscribe(topic, onMsg, cb)