mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-06-30 10:43:04 -04:00
add frontend folder
This commit is contained in:
parent
f93f012bc8
commit
8f1d62f115
1697 changed files with 754 additions and 104 deletions
8
frontend/rust-lib/lib-dispatch/src/macros.rs
Normal file
8
frontend/rust-lib/lib-dispatch/src/macros.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
#[macro_export]
|
||||
macro_rules! dispatch_future {
|
||||
($fut:expr) => {
|
||||
DispatchFuture {
|
||||
fut: Box::pin(async move { $fut.await }),
|
||||
}
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue