참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.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