interface SubscriptionOptions {
    globalCounter: IGlobalMonitoredItemCounter;
    id?: number;
    lifeTimeCount?: number;
    maxKeepAliveCount?: number;
    maxNotificationsPerPublish?: number;
    priority?: number;
    publishEngine?: IServerSidePublishEngine;
    publishingEnabled?: boolean;
    publishingInterval?: number;
    serverCapabilities: ServerCapabilitiesPartial;
    sessionId?: NodeId;
}

Properties

globalCounter: IGlobalMonitoredItemCounter
id?: number

a unique identifier

lifeTimeCount?: number
maxKeepAliveCount?: number

(default:10) the max Life Time Count

maxNotificationsPerPublish?: number

(default:0)

priority?: number

subscription priority Byte:(0-255)

publishEngine?: IServerSidePublishEngine
publishingEnabled?: boolean

(default:true)

publishingInterval?: number

(default:1000) the publishing interval.

serverCapabilities: ServerCapabilitiesPartial
sessionId?: NodeId