MCPcopy Index your code
hub / github.com/endbasic/endbasic / poll_key

Method poll_key

web/src/input.rs:182–184  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

180#[async_trait(?Send)]
181impl InputOps for WebInputOps {
182 async fn poll_key(&mut self) -> io::Result<Option<Key>> {
183 self.0.try_recv().await
184 }
185
186 async fn read_key(&mut self) -> io::Result<Key> {
187 self.0.recv().await

Callers

nothing calls this directly

Calls 1

try_recvMethod · 0.80

Tested by

no test coverage detected