Skip to main content

get_async

Function get_async 

Source
pub fn get_async(
    key: &str,
    reason: &str,
    on_done: impl FnOnce(Result<Secret, KeychainError>) + Send + 'static,
)
Expand description

The item under key, showing the OS’s verification dialog with reason when the item needs the person present, and answering exactly once, on the platform’s thread. An item at another level resolves without a dialog.

Day API ↩ Guides· daybrite.dev