MCPcopy Create free account
hub / github.com/aws/clock-bound / create_buffer

Function create_buffer

clock-bound/src/daemon/async_ring_buffer.rs:299–302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

297
298 #[tokio::test]
299 async fn create_buffer() {
300 let (tx, _rx) = create::<usize>(5);
301 assert!(tx.is_empty());
302 }
303
304 #[tokio::test]
305 async fn basic_send_receive() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected