storage__store_open2

Function storage__store_open2 

Source
pub unsafe extern "C" fn storage__store_open2(
    realm: u32,
    mode: u32,
    name_ptr: *const u8,
    name_len: u32,
    __ark_ffi_output: *mut StoreHandle,
)
Expand description

Open a store and make it available for the module

This can be a very expensive operation for [StoreRealm::Global] as it will synchronize and download latest data. Prefer to call this early in module initialization

Note: This does not support StoreRealm::DeviceUser or StoreRealm::GlobalUser, use store_open3 for that