Skip to main content

Module nonblocking

Module nonblocking 

Source

Structs§

PocketIc
Main entry point for interacting with PocketIC.

Functions§

call_candid
Call a canister candid method, anonymous. PocketIC executes update calls synchronously, so there is no need to poll for the result.
call_candid_as
Call a canister candid method, authenticated. The sender can be impersonated (i.e., the signature is not verified). PocketIC executes update calls synchronously, so there is no need to poll for the result.
get_default_effective_canister_id
Retrieves a default effective canister id for canister creation on a PocketIC instance characterized by:
query_candid
Call a canister candid query method, anonymous.
query_candid_as
Call a canister candid query method, authenticated. The sender can be impersonated (i.e., the signature is not verified).
update_candid
Call a canister candid update method, anonymous.
update_candid_as
Call a canister candid update method, authenticated. The sender can be impersonated (i.e., the signature is not verified).
with_candid
A helper function that we use to implement both call_candid and query_candid.