devp2p / org.apache.tuweni.devp2p.v5.topic / TopicRegistrar

TopicRegistrar

class TopicRegistrar : CoroutineScope (source)

Constructors

<init>

TopicRegistrar(coroutineContext: CoroutineContext = Dispatchers.IO, connector: DefaultUdpConnector)

Properties

coroutineContext

val coroutineContext: CoroutineContext

Functions

delayRegTopic

suspend fun delayRegTopic(requestId: Bytes, topic: Bytes, waitTime: Long): Unit

registerTopic

suspend fun registerTopic(topic: Bytes, withDelay: Boolean = false): Unit