Skip to content

MakeLiveOptions

Defined in: packages/pic/src/pocket-ic-types.ts:1914

Options for making a PocketIC instance live, see PocketIc.makeLive.

optional artificialDelayMs: number

Defined in: packages/pic/src/pocket-ic-types.ts:1924

The minimum delay in milliseconds between consecutive rounds. Slows down calls that wait for live mode to execute them: calls made through the HTTP gateway, and calls submitted with PocketIc.submitCall whose result is checked with PocketIc.ingressStatus. Calls made with an actor, a deferred actor, PocketIc.updateCall or PocketIc.awaitCall execute their rounds themselves and are not delayed. Defaults to no delay.


optional httpGateway: HttpGatewayConfig

Defined in: packages/pic/src/pocket-ic-types.ts:1930

The HTTP gateway to start. Not supported if the instance was created with CreateInstanceOptions.httpGateway, whose gateway is used instead.