pub async fn use_web_lock_with_options<C, F, R>(
name: &str,
callback: C,
options: UseWebLockOptions,
) -> Result<R, UseWebLockError>
Expand description
Version of crate::use_web_lock
that takes a UseWebLockOptions
. See crate::use_web_lock
for how to use.