Crate bitwarden_threading

Source
Expand description

§bitwarden-threading

Utility crate for Bitwarden SDK to handle threading and async quirks in FFI contexts.

§WASM Testing

To run the WASM tests, you can use the following command:

cargo test --target wasm32-unknown-unknown --all-features -- --nocapture

Modules§

cancellation_token
thread_bound_runner 🔒
time

Structs§

CallError
The call failed before it could return a value. This should not happen unless the thread panics, which can only happen if the function passed to run_in_thread panics.
ThreadBoundRunner
A runner that takes a non-Send state and makes it Send compatible.