interface Options {
    chunkSize?: number;
    id: Name;
    innerSigner?: Signer;
    mappingSigner?: Signer;
    outerSigner?: Signer;
    pOpts?: ProducerOptions;
    store: SvPublisher.DataStore;
    sync: SvSync;
}

Properties

chunkSize?: number

Segment chunk size of inner Data packet.

8000

id: Name

Publisher node ID.

Each publisher must have a unique node ID.

innerSigner?: Signer

Inner Data signer.

nullSigner

mappingSigner?: Signer

Mapping Data signer.

nullSigner

outerSigner?: Signer

Outer Data signer.

nullSigner

Producer options.

  • .describe is overridden as "SVS-PS" + prefix.
  • .dataSigner is overridden.

Data repository used for this publisher.

sync: SvSync

SvSync instance.

Multiple SvSubscribers and SvPublishers may reuse the same SvSync instance. However, publications from a publisher cannot reach subscribers on the same SvSync instance.