pub trait RuntimeResolver: Send + Sync {
// Required method
fn resolve_batch<'a>(
&'a self,
requests: &'a [RuntimeResolverRequest],
) -> ResolverBatchFuture<'a>;
// Provided method
fn resolve_and_apply<'a>(
&'a self,
vm: &'a Mutex<VmContext>,
bytecode: &'a MultiEntityBytecode,
requests: Vec<ResolverRequest>,
) -> ResolverApplyFuture<'a> { ... }
}