注意: このページはまだ日本語に翻訳されていません。以下は英語の原文です。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
Property | Type | Description |
---|---|---|
pollingInterval? | number | The frequency (in ms) to poll for events, if polling is used by the subscriber. For non-polling subscribers, this must return undefined . |
Methods
pause()
dropWhilePaused
, events that occur while paused should not be emitted
Subscriber.resume.
Parameters
Parameter | Type | Description |
---|---|---|
dropWhilePaused ? | boolean | If true , events that occur while paused |
Returns
void
Source
providers/abstract-provider.ts:233resume()
Returns
void
Source
providers/abstract-provider.ts:238start()
Returns
void
Source
providers/abstract-provider.ts:218stop()
Returns
void