We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eef6b7 commit 5a2cffbCopy full SHA for 5a2cffb
crates/core/src/lib.rs
@@ -409,6 +409,8 @@ impl<T: OutboundWasiHttpHandler + Send + Sync> Engine<T> {
409
}
410
411
/// Find the [`HostComponentDataHandle`] for a [`HostComponent`] if configured for this engine.
412
+ /// Note: [`DynamicHostComponent`]s are implicitly wrapped in `Arc`s and need to be explicitly
413
+ /// typed as such here, e.g. `find_host_component_handle::<Arc<MyDynamicHostComponent>>()`.
414
pub fn find_host_component_handle<HC: HostComponent>(
415
&self,
416
) -> Option<HostComponentDataHandle<HC>> {
0 commit comments