mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-26 01:35:22 +02:00
Thread 'async' through any protocol APIs that take Stores
In preparation for Desktop, which must asynchronously access its database (rather than putting the entire operation on a background thread with synchronization at the database layer). The FFI and JNI wrappers (as well as the tests) use futures::executor::block_on to turn the operations back into synchronous ones.
This commit is contained in: