Skip to main content

pic

Function pic 

Source
pub fn pic() -> Pic
Expand description

Create a fresh PocketIC universe.

IMPORTANT:

  • Each call creates a new IC instance
  • WARNING: callers must hold a PicSerialGuard for the full Pic lifetime
  • Required to avoid PocketIC wasm chunk store exhaustion