Skip to content
IC Reactor

ReactorParameters

Defined in: core/src/types/reactor.ts:70

clientManager: ClientManager

Defined in: core/src/types/reactor.ts:71


name: string

Defined in: core/src/types/reactor.ts:72


idlFactory: (IDL) => any

Defined in: core/src/types/reactor.ts:73

any

any


optional canisterId?: CanisterId

Defined in: core/src/types/reactor.ts:74


optional pollingOptions?: PollingOptions

Defined in: core/src/types/reactor.ts:84

How update calls poll read_state for their result. The reactor passes this one object to every update call, so a strategy here is shared by all of them. Use createPollingStrategy, which keeps each request’s state apart, or leave strategy out to get a fresh defaultStrategy() per request. A strategy from @icp-sdk/core/agent such as defaultStrategy() serves a single request: pass it per call through callConfig.pollingOptions instead.