init(encodableTopic:salt:)

Create a new topic from encodable data and a salt.

Topic.swift:34
init(encodableTopic: some Encodable, salt: some DataProtocol) throws

Parameters

encodableTopic

The encodable data that represents a stable topic. This can be a string, identifier, or any other token that can be encoded.

salt

The salt that should be used when encoding the topic.