MCPcopy Create free account
hub / github.com/Rustixir/tokio_sky / handle_message

Method handle_message

examples/batch_insert_mysql.rs:105–112  ·  view source on GitHub ↗
(&mut self, msg: User)

Source from the content-addressed store, hash-verified

103 async fn terminate(&mut self) {}
104
105 async fn handle_message(&mut self, msg: User) -> ProcResult<User> {
106
107 // ordering - partitioning based on 'fullname'
108 let pk = msg.fullname.clone();
109
110 // Dispatch to Batcher
111 ProcResult::Dispatch(msg, pk)
112 }
113}
114
115

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected