Function retrieveMetadata

  • Retrieve metadata packet of base type.

    Parameters

    • prefix: NameLike

      Metadata packet prefix.

    • OptionalcOpts: ConsumerOptions

      Consumer options.

      • Commonly specified: .retx and .verifier.
      • .describe defaults to "RDR-c" + prefix.

    Returns Promise<Metadata>

    Metadata packet.

  • Retrieve metadata packet of subclass type.

    Type Parameters

    Parameters

    • prefix: NameLike

      Metadata packet prefix.

    • ctor: C

      Metadata subclass constructor.

    • OptionalcOpts: ConsumerOptions

      Consumer options.

      • Commonly specified: .retx and .verifier.
      • .describe defaults to "RDR-c" + prefix.

    Returns Promise<InstanceType<C>>

    Metadata packet of type C.