JetStreamSubscriberResponse.ts overview
Since v0.7.0
Exports Grouped by Category
constructors
ack
Signature
declare const ack: () => JetStreamSubscriberResponse
Since v0.7.0
nak
Signature
declare const nak: (options?: NakOptions) => JetStreamSubscriberResponse
Since v0.7.0
term
Signature
declare const term: (options?: TermOptions) => JetStreamSubscriberResponse
Since v0.7.0
guards
isJetStreamSubscriberResponse
Signature
declare const isJetStreamSubscriberResponse: (u: unknown) => u is JetStreamSubscriberResponse
Since v0.7.0
models
Ack (interface)
Signature
export interface Ack {
readonly [TypeId]: TypeId
readonly _tag: "Ack"
}
Since v0.7.0
JetStreamSubscriberResponse (type alias)
Signature
type JetStreamSubscriberResponse = Ack | Nak | Term
Since v0.7.0
Nak (interface)
Signature
export interface Nak {
readonly [TypeId]: TypeId
readonly _tag: "Nak"
readonly millis?: number | undefined
}
Since v0.7.0
NakOptions (interface)
Signature
export interface NakOptions {
readonly millis?: number
}
Since v0.7.0
Term (interface)
Signature
export interface Term {
readonly [TypeId]: TypeId
readonly _tag: "Term"
readonly reason?: string | undefined
}
Since v0.7.0
TermOptions (interface)
Signature
export interface TermOptions {
readonly reason?: string
}
Since v0.7.0
type ids
TypeId
Signature
declare const TypeId: unique symbol
Since v0.7.0
TypeId (type alias)
Signature
type TypeId = typeof TypeId
Since v0.7.0