polysig_node_bindings/protocols/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#[cfg(feature = "cggmp")]
pub mod cggmp;

pub mod meeting;

mod types;

#[napi::module_init]
fn init() {
    use napi::bindgen_prelude::create_custom_tokio_runtime;
    let rt = tokio::runtime::Builder::new_multi_thread()
        .enable_all()
        .on_thread_start(|| {
            // println!("tokio thread started");
        })
        .build()
        .unwrap();
    create_custom_tokio_runtime(rt);
}