PollingOptions
Defined in: packages/agent/src/polling/index.ts:43
Options for controlling polling behavior
Properties
Section titled “Properties”blsVerify?
Section titled “blsVerify?”
optionalblsVerify:VerifyFunc
Defined in: packages/agent/src/polling/index.ts:60
Optional replacement function that verifies the BLS signature of a certificate.
preSignReadStateRequest?
Section titled “preSignReadStateRequest?”
optionalpreSignReadStateRequest:boolean
Defined in: packages/agent/src/polling/index.ts:55
Whether to reuse the same signed request for polling or create a new unsigned request each time.
Default
Section titled “Default”falserequest?
Section titled “request?”
optionalrequest:ReadStateRequest
Defined in: packages/agent/src/polling/index.ts:66
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?”
optionalstrategy:PollStrategy
Defined in: packages/agent/src/polling/index.ts:49
A polling strategy that dictates how much and often we should poll the read_state endpoint to get the result of an update call.