interface PubSubInit {
    canRelayMessage?: boolean;
    emitSelf?: boolean;
    enabled?: boolean;
    globalSignaturePolicy?: SignaturePolicy;
    maxInboundStreams?: number;
    maxOutboundStreams?: number;
    messageProcessingConcurrency?: number;
    multicodecs?: string[];
}

Hierarchy

  • PubSubInit

    Properties

    canRelayMessage?: boolean

    if can relay messages not subscribed

    emitSelf?: boolean

    if publish should emit to self, if subscribed

    enabled?: boolean
    globalSignaturePolicy?: SignaturePolicy

    defines how signatures should be handled

    maxInboundStreams?: number

    How many parallel incoming streams to allow on the pubsub protocol per-connection

    maxOutboundStreams?: number

    How many parallel outgoing streams to allow on the pubsub protocol per-connection

    messageProcessingConcurrency?: number

    handle this many incoming pubsub messages concurrently

    multicodecs?: string[]