PublicationCallback: ((name, topic) => Promise<Data | Encodable>)

A callback function to generate publication packet.

Type declaration

Returns

Either a Data that is already signed, or an Encodable to use as publication body.