We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a042eb commit 74526d9Copy full SHA for 74526d9
src/replicator.rs
@@ -841,7 +841,7 @@ unsafe extern "C" fn c_replicator_change_listener(
841
}
842
843
/** A callback that notifies you when documents are replicated. */
844
-pub type ReplicatedDocumentListener = Box<dyn Fn(Direction, Vec<ReplicatedDocument>)>;
+pub type ReplicatedDocumentListener = Box<dyn Fn(Direction, Vec<ReplicatedDocument>) + Send + Sync>;
845
unsafe extern "C" fn c_replicator_document_change_listener(
846
context: *mut ::std::os::raw::c_void,
847
_replicator: *mut CBLReplicator,
0 commit comments