use Arc;
use UnboundedSender;
use ;
use crate;
use Message;
/// Everything the imported host functions need, carried as the `Store` payload rather than
/// captured by the closures.
///
/// That is what lets the [`wasmtime::Linker`] be built once at startup: the import functions
/// close over nothing, reaching their per-request collaborators through `Caller::data`
/// instead. Resolving imports by name then happens a single time, into an
/// [`wasmtime::InstancePre`], instead of once per request.