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