PollingOptions
Defined in: packages/agent/src/polling/index.ts:41
Options for controlling polling behavior
Properties
Section titled “Properties”blsVerify?
Section titled “blsVerify?”
optional
blsVerify:VerifyFunc
Defined in: packages/agent/src/polling/index.ts:58
Optional replacement function that verifies the BLS signature of a certificate.
preSignReadStateRequest?
Section titled “preSignReadStateRequest?”
optional
preSignReadStateRequest:boolean
Defined in: packages/agent/src/polling/index.ts:53
Whether to reuse the same signed request for polling or create a new unsigned request each time.
Default
Section titled “Default”false
request?
Section titled “request?”
optional
request:ReadStateRequest
Defined in: packages/agent/src/polling/index.ts:64
The request to use for polling. If not provided, a new request will be created.
This is only used if preSignReadStateRequest
is set to false.
strategy?
Section titled “strategy?”
optional
strategy:PollStrategy
Defined in: packages/agent/src/polling/index.ts:47
A polling strategy that dictates how much and often we should poll the read_state endpoint to get the result of an update call.
Default
Section titled “Default”defaultStrategy()