remove veilid-wasm project, too out of date
refactor state updates and formalize a VeilidState object work on veilid-flutter api
This commit is contained in:
@@ -8,10 +8,10 @@ static LOREM_IPSUM:&[u8] = b"Lorem ipsum dolor sit amet, consectetur adipiscing
|
||||
|
||||
fn setup_veilid_core() -> VeilidCoreSetup {
|
||||
VeilidCoreSetup {
|
||||
state_change_callback: Arc::new(
|
||||
move |change: VeilidStateChange| -> SystemPinBoxFuture<()> {
|
||||
update_callback: Arc::new(
|
||||
move |veilid_update: VeilidUpdate| -> SystemPinBoxFuture<()> {
|
||||
Box::pin(async move {
|
||||
trace!("state_change_callback: {:?}", change);
|
||||
trace!("update_callback: {:?}", veilid_update);
|
||||
})
|
||||
},
|
||||
),
|
||||
|
Reference in New Issue
Block a user