MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / mark_async

Method mark_async

crates/moonbit/src/async_support.rs:110–112  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

108
109impl AsyncSupport {
110 pub(crate) fn mark_async(&mut self) {
111 self.is_async = true;
112 }
113
114 pub(crate) fn register_future_or_stream(&mut self, module: &str, ty: TypeId) -> bool {
115 self.futures

Callers 2

importMethod · 0.80
exportMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected