Interface IDecoder<T>

Type Parameters

Hierarchy

  • IDecoder

Properties

contentTopic: string
fromProtoObj: ((pubsubTopic, proto) => Promise<undefined | T>)

Type declaration

    • (pubsubTopic, proto): Promise<undefined | T>
    • Parameters

      Returns Promise<undefined | T>

fromWireToProtoObj: ((bytes) => Promise<undefined | IProtoMessage>)

Type declaration

pubsubTopic: string

Generated using TypeDoc