Skip to main content
A Subscriber manages a subscription. Only developers sub-classing AbstractProvider will care about this, if they are modifying a low-level feature of how subscriptions operate.

Properties

Methods

pause()

Called when the subscription should pause. If dropWhilePaused, events that occur while paused should not be emitted Subscriber.resume.

Parameters

Returns

void

Source

providers/abstract-provider.ts:233

resume()

Resume a paused subscriber.

Returns

void

Source

providers/abstract-provider.ts:238

start()

Called initially when a subscriber is added the first time.

Returns

void

Source

providers/abstract-provider.ts:218

stop()

Called when there are no more subscribers to the event.

Returns

void

Source

providers/abstract-provider.ts:223