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

Method is_async

crates/rust/src/lib.rs:1052–1062  ·  view source on GitHub ↗
(
        &mut self,
        resolve: &Resolve,
        interface: Option<&WorldKey>,
        func: &Function,
        is_import: bool,
    )

Source from the content-addressed store, hash-verified

1050 }
1051
1052 fn is_async(
1053 &mut self,
1054 resolve: &Resolve,
1055 interface: Option<&WorldKey>,
1056 func: &Function,
1057 is_import: bool,
1058 ) -> bool {
1059 self.opts
1060 .async_
1061 .is_async(resolve, interface, func, is_import)
1062 }
1063
1064 fn should_return_self(&self, func: &Function) -> bool {
1065 self.opts.enable_method_chaining

Callers 3

generate_exportsMethod · 0.45
generate_guest_importMethod · 0.45
generate_stub_implMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected