pub fn link_function<V>(
linker: &mut LinkerInstance<'_, V>,
guest_resources: impl Into<Arc<[ResourceType]>>,
host_resources: impl Into<Arc<HashMap<Box<str>, HashMap<Box<str>, (ResourceType, ResourceType)>>>>,
ty: ComponentFunc,
instance: impl Into<Arc<str>>,
name: impl Into<Arc<str>>,
) -> Result<()>
Expand description
Polyfill types::ComponentFunc
in a LinkerInstance
using wrpc_transport::Invoke