1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
mod k8_dispatcher;
mod k8_ws_service;

pub use k8_dispatcher::*;
pub use k8_ws_service::*;

/*
mod delta{

    use std::collections::HashMap;

    use async_rwlock::RwLock;

    use crate::core::Spec;

    /// WS ActionQueue
    pub struct WSActionQueue<S> where S: Spec {

        entries: RwLock<HashMap<S::IndexKey,S>>
    }


    impl WSActionQueue  {

        pub fn new() -> Self {
            Self{}
        }


    }


    #[cfg(test)]
    mod test {

        use super::WSActionQueue;

        struct TestSpec {
            pub name: String
        }

        struct TestStatus {

        }




        fn test_insert() {

            let fifo = WSActionQueue::new();


        }

    }

}
*/