Skip to content

Subscription ​

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:933)

Implements ​

Constructors ​

Constructor ​

new Subscription(inner): Subscription

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:941)

Parameters ​

inner ​

NativeSubscription

Returns ​

Subscription

Accessors ​

adminStatus ​

Get Signature ​

get adminStatus(): AdminStatus

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:970)

Returns ​

AdminStatus


delivery ​

Get Signature ​

get delivery(): "state" | "deltas"

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:958)

Returns ​

"state" | "deltas"


events ​

Get Signature ​

get events(): SubscriptionEvent[]

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:964)

Returns ​

SubscriptionEvent[]


failedTickers ​

Get Signature ​

get failedTickers(): string[]

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:966)

Returns ​

string[]


failures ​

Get Signature ​

get failures(): SubscriptionFailure[]

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:965)

Returns ​

SubscriptionFailure[]


fieldErrors ​

Get Signature ​

get fieldErrors(): Record<string, Record<string, string>>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:968)

Returns ​

Record<string, Record<string, string>>


fields ​

Get Signature ​

get fields(): string[]

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:960)

Returns ​

string[]


isActive ​

Get Signature ​

get isActive(): boolean

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:961)

Returns ​

boolean


serviceStatus ​

Get Signature ​

get serviceStatus(): Record<string, ServiceStatus>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:971)

Returns ​

Record<string, ServiceStatus>


sessionStatus ​

Get Signature ​

get sessionStatus(): SessionStatus

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:969)

Returns ​

SessionStatus


stats ​

Get Signature ​

get stats(): SubscriptionStats

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:962)

Returns ​

SubscriptionStats


status ​

Get Signature ​

get status(): SubscriptionStatus

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:963)

Returns ​

SubscriptionStatus


tickers ​

Get Signature ​

get tickers(): string[]

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:959)

Returns ​

string[]


topicStates ​

Get Signature ​

get topicStates(): Record<string, TopicState>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:967)

Returns ​

Record<string, TopicState>

Methods ​

[asyncIterator]() ​

[asyncIterator](): this

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:972)

Returns ​

this

Implementation of ​

AsyncIterable.[asyncIterator]


add() ​

add(tickers, aliases?): Promise<void>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:944)

Parameters ​

tickers ​

readonly string[]

aliases? ​

Record<string, string>

Returns ​

Promise<void>


addFields() ​

addFields(fields): Promise<void>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:946)

Grow this consumer's projection and the shared feed's field union.

Parameters ​

fields ​

readonly string[]

Returns ​

Promise<void>


arrow() ​

arrow(): ArrowSubscription

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:953)

Returns ​

ArrowSubscription


deliveries() ​

Call Signature ​

deliveries(options?): DeliveryStream

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:954)

Parameters ​
options? ​
backend? ​

"arrow"

Returns ​

DeliveryStream

Call Signature ​

deliveries(options): DeliveryStream<unknown>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:957)

Parameters ​
options ​

SubscriptionDeliveryOptions

Returns ​

DeliveryStream<unknown>


field() ​

field(name): FieldHandle

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:952)

Parameters ​

name ​

string

Returns ​

FieldHandle


latest() ​

latest(options?): unknown

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:948)

Materialized last values, independent of the stream read mode.

Parameters ​

options? ​

RecipeBackendOptions

Returns ​

unknown


next() ​

next(options?): Promise<IteratorResult<Tick, undefined>>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:942)

Parameters ​

options? ​

SubscriptionReadOptions

Returns ​

Promise<IteratorResult<Tick, undefined>>

Implementation of ​

AsyncIterator.next


remove() ​

remove(tickers): Promise<void>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:949)

Parameters ​

tickers ​

readonly string[]

Returns ​

Promise<void>


return() ​

return(): Promise<IteratorResult<Tick, undefined>>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:951)

Returns ​

Promise<IteratorResult<Tick, undefined>>

Implementation of ​

AsyncIterator.return


unsubscribe() ​

unsubscribe(drain?): Promise<Tick[]>

Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:950)

Parameters ​

drain? ​

boolean

Returns ​

Promise<Tick[]>

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.